Joshua engaged all those kings in battle for a long time.
From Mount Halak to Seir, and as far as Baal Gad in the Lebanon Valley under Mount Hermon: All their kings he captured, struck down, and killed.
There was no city that made peace with the Israelites except the Hivites living in Gibeon. They conquered all of them
So Joshua took the whole land according to all that the Lord had said to Moses. Joshua gave it to Israel as an inheritance according to their allotted portions by their tribes. Then the land rested from war.