The idol worship in Canaan (Ps 106:34-106:39)

“The Israelites did not destroy the peoples,

As Yahweh commanded them.

But they mingled with the nations.

They learned to do as they did.

They served their idols.

This became a snare to them.

They sacrificed their sons to the demons.

They sacrificed their daughters to the demons.

They poured out innocent blood,

The blood of their sons and daughters.

They sacrificed them to the idols of Canaan.

The land was polluted with blood.

Thus they became unclean by their acts.

They prostituted themselves in their doings.”

This section of this psalm is based on the description in Judges, chapter 2, when the Israelites worshipped Baal in their new home. Instead of destroying the people of Canaan as Yahweh had instructed, they mingled and intermarried with the local inhabitants. With that, they did what the locals were doing, worshiping the local gods of Baal as they served these local idol gods. Part of their rituals was the sacrificial offering up of sons and daughters. They sacrificed their children to the demons. In thus killing their own children the blood of the young children polluted the land. The psalmist here calls them prostitutes who became unclean by their own acts.