16Then the LORD raised up judges, who delivered them out of the power of those who plundered them. 17Yet they did not listen even to their judges; for they lusted after other gods and bowed down to them. They soon turned aside from the way in which their ancestors had walked, who had obeyed the commandments of the LORD; they did not follow their example. 18Whenever the LORD raised up judges for them, the LORD was with the judge, and he delivered them from the hand of their enemies all the days of the judge; for the LORD would be moved to pity by their groaning because of those who persecuted and oppressed them. 19But whenever the judge died, they would relapse and behave worse than their ancestors, following other gods, worshiping them and bowing down to them. They would not drop any of their practices or their stubborn ways. 20So the anger of the LORD was kindled against Israel; and he said, “Because this people have transgressed my covenant that I commanded their ancestors, and have not obeyed my voice, 21I will no longer drive out before them any of the nations that Joshua left when he died.” 22In order to test Israel, whether or not they would take care to walk in the way of the LORD as their ancestors did, 23the LORD had left those nations, not driving them out at once, and had not handed them over to Joshua.