In context
19But when the judge died, they would relapse and act more corruptly than their fathers, going after other gods to serve them and bow down to them; they would not give up their practices or their stubborn ways. 20So Yahweh’s anger burned against Israel, and he said, “Because this nation has transgressed the covenant I commanded their fathers and has not listened to my voice, 21I in turn will no longer drive out before them any of the nations Joshua left when he died. 22I will use them to test Israel — to see whether they will keep the way of Yahweh and walk in it, as their fathers did, or not.” 23So Yahweh let those nations remain, not driving them out quickly; he had not given them into the hand of Joshua.
