Judges 3:1-4

1 aNow 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. 2It 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. 3These are the nations: bthe five lords of the Philistines and all the Canaanites and the Sidonians and the Hivites who lived on Mount Lebanon, from Mount Baal-hermon as far as Lebo-hamath. 4They were for cthe testing of Israel, to know whether Israel would obey the commandments of the Lord, which he commanded their fathers by the hand of Moses.
Copyright information for ESV