And all the cities of those kings, and all the kings of them
did Joshua take
As particularly Madon, Shimron, and Achshaph, with others which he marched unto, after he had burnt Hazor; in which he took their kings, whither they had fled, or else he had taken them before in the pursuit:
and smote them with the edge of the sword;
both the kings and the inhabitants of those cities:
[and] he utterly destroyed them, as Moses the servant of the Lord
so that, in doing what he did, he did not indulge a spirit of revenge, cruelty, and avarice, but had regard purely to the command of Moses, which was of God, ( Deuteronomy 7:1 Deuteronomy 7:2 ) .