16 Then the Lord raised up judges, who saved them out of the hand of those who plundered them. 17 Yet they did not listen to their judges, for they whored after other gods and bowed down to them. They soon turned aside from the way in which their fathers had walked, who had obeyed the commandments of the Lord, and they did not do so. 18 Whenever the Lord raised up judges for them, the Lord was with the judge, and he saved them from the hand of their enemies all the days of the judge. For the Lord was moved to pity by their groaning because of those who afflicted and oppressed them. 19 But whenever the judge died, they turned back and were more corrupt than their fathers, going after other gods, serving them and bowing down to them. They did not drop any of their practices or their stubborn ways. 20 So the anger of the Lord was kindled against Israel, and he said, “Because this people has transgressed my covenant that I commanded their fathers and have not obeyed my voice, 21 I will no longer drive out before them any of the nations that Joshua left when he died, 22 in order to test Israel by them, whether they will take care to walk in the way of the Lord as their fathers did, or not.” 23 So the Lord left those nations, not driving them out quickly, and he did not give them into the hand of Joshua.
Judges 2:16-23 (ESV)