The Israelites did things that the LORD saw as evil, and they forgot the LORD their God. They served the Baals and the Asherahs.
References for Judges 3:7
The LORD became angry with Israel and gave them over to King Cushan-rishathaim of Aram-naharaim. The Israelites served Cushan-rishathaim eight years.
But then they cried out to the LORD. So the LORD raised up a deliverer for the Israelites, Othniel, Kenaz's son, Caleb's younger brother, who rescued them.
The LORD's spirit was in Othniel, and he led Israel. When he marched out for war, the LORD handed over Aram's King Cushan-rishathaim. Othniel overpowered Cushan-rishathaim,
and the land was peaceful for forty years, until Othniel, Kenaz's son, died.