The Israelites did evil in the LORD ’s sight. They forgot about the LORD their God, and they served the images of Baal and the Asherah poles.
Then the LORD burned with anger against Israel, and he turned them over to King Cushan-rishathaim of Aram-naharaim. And the Israelites served Cushan-rishathaim for eight years.
References for Judges 3:8
But when the people of Israel cried out to the LORD for help, the LORD raised up a rescuer to save them. His name was Othniel, the son of Caleb’s younger brother, Kenaz.
The Spirit of the LORD came upon him, and he became Israel’s judge. He went to war against King Cushan-rishathaim of Aram, and the LORD gave Othniel victory over him.
So there was peace in the land for forty years. Then Othniel son of Kenaz died.