Psalms 106:36

And they served their idols: which were a snare unto them.