All the cities of those kings, and the kings themselves, Joshua captured and put to the sword, carrying out the ban on them, as Moses, the servant of the Lord, had commanded.