Psalm 106:34-39

34 They did not destroy the peoples, as the Lord commanded them,
35 but they mingled with the nations and learned to do as they did.
36 They served their idols, which became a snare to them.
37 They sacrificed their sons and their daughters to the demons;
38 they poured out innocent blood, the blood of their sons and daughters, whom they sacrificed to the idols of Canaan; and the land was polluted with blood.
39 Thus they became unclean by their acts, and prostituted themselves in their doings.