Apart from the Hivites living in Gibeon, not one city made peace with Israel. By the power of Yahweh, Joshua conquered them all.
Joshua waged war with all those kings over a long period.
So he left in the land the five Philistine principalities and all the Canaanites, Sidonians, and Hivites who lived on Mount Lebanon from Mount Baal Hermon as far as Lebo Hamath.