Psalm 106:34-41 KJV
They did not destroy the nations, Concerning whom the LORD commanded them: But were mingled among the heathen, and learned their works. And they served their idols: Which were a snare unto them. Yea, they sacrificed their sons and their daughters unto devils, And shed innocent blood, Even the blood of their sons and of their daughters, Whom they sacrificed unto the idols of Canaan: And the land was polluted with blood. Thus were they defiled with their own works, And went a whoring with their own inventions. Therefore was the wrath of the LORD kindled against his people, Insomuch that he abhorred his own inheritance. And he gave them into the hand of the heathen; And they that hated them ruled over them.