Judges 2:21 in the King James Version
I also will not henceforth drive out any from before them of the nations which Joshua left when he died:
Context
20 The LORD’s anger burned against Israel; and he said, “Because this nation transgressed my covenant which I commanded their fathers, and has not listened to my voice,
21 I also will no longer drive out any of the nations that Joshua left when he died from before them;
22 that by them I may test Israel, to see if they will keep the LORD’s way to walk therein, as their fathers kept it, or not.”