These are the nations Yahweh left, to test by them all the Israelites who had not known any of the wars of Canaan —
In context
1These are the nations Yahweh left, to test by them all the Israelites who had not known any of the wars of Canaan — 2this was only so that the generations of the Israelites would learn war, at least those who had not known it before: 3the five lords of the Philistines, all the Canaanites, the Sidonians, and the Hivites living in the mountains of Lebanon, from Mount Baal-hermon to Lebo-hamath.