Joshua captured all these royal cities and all their kings and annihilated them with the sword, as Moses the LORD's servant had commanded.