21I will no longer drive out before them any of the nations Joshua left when he died.
22In this way I will test whether Israel will keep the way of the LORD by walking in it as their fathers did.”
23That is why the LORD had left those nations in place and had not driven them out immediately by delivering them into the hand of Joshua.
— Judges 2:21-23