Psalms 106:36

ESV
They served their idols, which became a snare to them.