Judges 2:21-3:2
English Standard Version
21 (A)I will no longer drive out before them any of the nations that Joshua left when he died, 22 in order (B)to test Israel by them, 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 quickly, and he did not give them into the hand of Joshua.
3 (C)Now these are the nations that the Lord left, to test Israel by them, that is, all in Israel who had not experienced all the wars in Canaan. 2 It was only in order that the generations of the people of Israel might know war, to teach war to those who had not known it before.
The Holy Bible, English Standard Version. ESV® Text Edition: 2016. Copyright © 2001 by Crossway Bibles, a publishing ministry of Good News Publishers.