No city made peace with the Israelites (except the Hivites living in Gibeon); they had to conquer all of them,
Joshua campaigned against these kings for quite some time.
These were the nations: the five lords of the Philistines, all the Canaanites, the Sidonians, and the Hivites living in Mount Lebanon, from Mount Baal Hermon to Lebo-Hamath.