Judges 2:20-Judges 3:4 - The Lord Allows The Nations To Stay In Order To Test His People

20 So the anger of the LORD was kindled against Israel; and he said, "Because this people have transgressed my covenant which I commanded their fathers, and have not obeyed my voice, 21 I will not henceforth drive out before them any of the nations that Joshua left when he died, 22 that by them I may test Israel, 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 at once, and he did not give them into the power of Joshua.

1 Now these are the nations which the LORD left, to test Israel by them, that is, all in Israel who had no experience of any war in Canaan; 2 it was only that the generations of the people of Israel might know war, that he might teach war to such at least as had not known it before. 3 These are the nations: the five lords of the Philistines, and all the Canaanites, and the Sido'nians, and the Hivites who dwelt on Mount Lebanon, from Mount Ba'al-her'mon as far as the entrance of Hamath. 4 They were for the testing of Israel, to know whether Israel would obey the commandments of the LORD, which he commanded their fathers by Moses.