Joshua 8:29

29 He hung[a] [the body of] the king of Ai on a tree[b] until evening, and at sunset Joshua commanded that they take his body down from the tree.[c] They threw it down at the entrance of the city gate and put a large pile of rocks over it, which remains to this day.

Joshua 8:29 Meaning and Commentary

Joshua 8:29

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.

Joshua 8:29 In-Context

27 Israel plundered only the cattle and spoil of that city for themselves, according to the Lord's command that He had given Joshua.
28 Joshua burned Ai and left it a permanent ruin, desolate to this day.
29 He hung [the body of] the king of Ai on a tree until evening, and at sunset Joshua commanded that they take his body down from the tree. They threw it down at the entrance of the city gate and put a large pile of rocks over it, which remains to this day.
30 At that time Joshua built an altar on Mount Ebal to the Lord, the God of Israel,
31 just as Moses the Lord's servant had commanded the Israelites. He built it according to what is written in the book of the law of Moses: an altar of uncut stones on which no iron tool has been used. Then they offered burnt offerings to the Lord and sacrificed fellowship offerings on it.

Footnotes 3

Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.