Judges 10
The Israelites went back to their evil ways and served the Baals and the Ashtoreths and foreign gods. They forsook the Lord and no longer served him, so He became angry with them and allowed them to become oppressed by the Philistines and the Ammonites. While in great distress, the Israelites cried out to the Lord, "We have sinned against you, forsaking our God and serving the Baals...Do with us whatever you think best, but please rescue us now." They returned to the Lord and served only Him and "He could bear Israel's misery no longer".