Judg 3:1-3

Nations Remaining in the Land 1Now these are the nations that the Lord left to test all those in Israel who had no experience of any war in Canaan2(it was only that successive generations of Israelites might know war, to teach those who had no experience of it before):3the 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.