29 He hanged the king of Ai on a tree until the evening, and at the sundown Joshua commanded, and they took his body down from the tree, and threw it at the entrance of the gate of the city, and raised a great heap of stones on it that remains to this day.
*Minor differences ignored. Grouped by changes, with first version listed as example.
And the king of Ai he hanged, etc Though he seems to have treated the king with great severity in order to satisfy the hatred of the people, I cannot doubt that he studied faithfully to execute the divine judgment. Conquerors, indeed, are wont to spare captive kings, because their rank seems to carry something venerable along with it, but the condition of kings was different among those nations in which God wished particularly to show how greatly he detested the wickedness which he had so long tolerated. For while all were doomed to destruction, the divine vengeance justly displayed itself with greater sternness and severity on the leaders, with whom the cause of destruction originated. We may add, that the ignominious punishment inflicted on the king rendered it still less necessary to deal leniently with the common people, and thus prevented the Israelites from indulging an unseasonable mercy, which might have made them more sluggish or careless in executing the work of universal extermination. God purposely delivered the king alive into the hand of Joshua, that his punishment might be more marked and thus better adapted for an example. Had he fallen in the conflict promiscuously with others, he would have been exempted from this special mark of infamy; but now even after his death, the divine vengeance pursues his corpse. Nay, after being hung, he is thrown forth at the gate of the city where he had sat on his throne in judgment, and a monument is erected for the purpose of perpetuating his ignominy to posterity. His burial, however, is mentioned to let us know that nothing was done through tumultuous impetuosity, as Joshua carefully observed what Moses had prescribed in the Law, (Deuteronomy 21:23) namely, that those hung on gibbets should be taken down before sunset, as a spectacle of the kind was held in abomination. And, certainly, while it is humane to bury the dead under ground, it is inhumanly cruel to cast them forth to be torn by wild beasts or birds. Therefore, that the people might not be accustomed to barbarity, God allowed criminals to be hung, provided they did not hang unburied for more than one day. And that the people might be more attentive to this duty, which otherwise might readily have been neglected, Moses declares that every one who hangs on a tree is accursed; as if he had said, that the earth is contaminated by that kind of death, if the offensive object be not immediately taken away.
Compare Deuteronomy 21:22-23 notes.
The king of Ai he hanged on a tree - He had gone out at the head of his men, and had been taken prisoner, Joshua 8:23; and the battle being over, he was ordered to be hanged, probably after having been strangled, or in some way deprived of life, as in the case mentioned Joshua 10:26, for in those times it was not customary to hang people alive.
As soon as the sun was down - It was not lawful to let the bodies remain all night upon the tree. See the note on Deuteronomy 21:23. The Septuagint say the king of Ai was hanged επι ξυλον διδυμον, upon a double tree, which probably means a forked tree, or something in the form of a cross. The tree on which criminals were hanged among the Romans was called arbor infelix, and lignum infelix, the unfortunate, ill-fated, or accursed tree.
Raise thereon a great heap of stones - This was a common custom through all antiquity in every country, as we have already seen in the case of Achan, Joshua 7:20.
And the king of Ai he hanged on a tree until eventide: and as soon as the sun was down, Joshua commanded (m) that they should take his carcase down from the tree, and cast it at the entering of the gate of the city, and raise thereon a great heap of stones, [that remaineth] unto this day.
(m) According as it was commanded, (Deuteronomy 21:23).
And the king of Ai he hanged on a tree until eventide,.... By way of terror to other kings in the land of Canaan, that should refuse to submit unto him:
and as soon as the sun was down, Joshua commanded that they should take his carcass down from the tree; according to the law in Deuteronomy 21:23; and that the land might not be defiled:
and cast it at the entering of the gate of the city; this was done, according to Ben Gersom and Abarbinel, that it might be publicly known to the rest of the kings of the nations, that they might be afraid to fight with Israel:
and raise thereon a great heap of stones, that remaineth unto this day; as a sepulchral monument, showing that there was a person lay interred there; whether there was any inscription on the stone, showing who he was, does not appear; it looks as if it was only a rude heap of stones; and such kind of sepulchral monuments were common in former times in other countries.
THE KING HANGED. (Joshua 8:29)
The king of Ai he hanged on a tree until eventide--that is, gibbeted. In ancient, and particularly Oriental wars, the chiefs, when taken prisoners, were usually executed. The Israelites were obliged, by the divine law, to put them to death. The execution of the king of Ai would tend to facilitate the conquest of the land, by striking terror into the other chiefs, and making it appear a judicial process, in which they were inflicting the vengeance of God upon His enemies.
take his carcass down . . . and raise thereon a great heap of stones--It was taken down at sunset, according to the divine command (Deuteronomy 21:23), and cast into a pit dug "at the entering of the gate," because that was the most public place. An immense cairn was raised over his grave--an ancient usage, still existing in the East, whereby is marked the sepulchre of persons whose memory is infamous.
He had the king of Ai hanged upon a tree, i.e., put to death, and then suspended upon a stake (see Numbers 25:4) until the evening; but at sunset he had him taken down (in accordance with Deuteronomy 21:22-23), and thrown at the entrance of the town-gate, and a heap of stones piled upon him (as in the case of Achan, Joshua 7:26).
Hanged on a tree - He dealt more severely with the kings of Canaan than with the people, because the abominable wickedness of that people was not restrained and punished (as it should have been) but countenanced and encouraged by their evil examples; and because they were the principal authors of the destruction of their own people, by engaging them in an obstinate opposition against the Israelites. Down from the tree - According to God's command in that case, Deuteronomy 21:22. The gate of the city - Which place he chose either as most commodious, now especially when all the city within the gate was already turned in to an heap of stones and rubbish; or because this was the usual place of judgment; and therefore proper to bear the monument of God's just sentence against him, not without reflection upon that injustice which he had been guilty of in that place.
*More commentary available at chapter level.