Thus Joshua captured all the cities of those kings and all their kings, and he struck them with the edge of the sword, putting them to the ban, just as Moses the servant of Adonai had commanded.