Psalm 106:36

36 and they worshiped their idols, which became a trap for them.