That seldom happens. The text may instead be speaking in summary fashion. What occurs here seems to be none other than the end result of Israel’s previous disobedience of failing to drive the Canaanites out of the land and destroy their places of worship as they had been instructed to do. Israel’s political compromise led to its religious compromise that we now read of.1
12 And they abandoned the LORD, the God of their fathers, who had brought them out of the land of Egypt. They went after other gods, from among the gods of the peoples who were around them, and bowed down to them. And they provoked the LORD to anger.