And it came to pass, when Joshua and the children of Israel had made an end of slaying them with a very great slaughter, till they were consumed, that the rest which remained of them entered into fenced cities.
After Joshua and the Israelites finished fighting and killing many people with a huge victory, those who survived went to live in fortified cities.