Psalms 106:36 - Kjv

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