Joshua 8:29

29 He impaled the body of the king of Ai on a pole and left it there until evening. At sunset, Joshua ordered them to take the body from the pole and throw it down at the entrance of the city gate. And they raised a large pile of rocks over it, which remains to this day.

Read Joshua 8:29 Using Other Translations

And the king of Ai he hanged on a tree until eventide: and as soon as the sun was down, Joshua commanded 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.
And he hanged the king of Ai on a tree until evening. And at sunset 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 over it a great heap of stones, which stands there to this day.
Joshua impaled the king of Ai on a sharpened pole and left him there until evening. At sunset the Israelites took down the body, as Joshua commanded, and threw it in front of the town gate. They piled a great heap of stones over him that can still be seen today.

What does Joshua 8:29 mean?

John Gill's Exposition of the Bible
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.

California - Do Not Sell My Personal Information  California - CCPA Notice