Only the Hivites who lived in Gibeon made a peace treaty with the Israelites. No other city made a treaty with them. So Israel captured all those cities in battle.
So he left the five rulers of the Philistines. He left the people of Canaan and the people of Sidon. He left the Hivites living in the Lebanon mountains. They lived in the area between Mount Baal Hermon and Lebo Hamath.