Joshua 8:29

Overview - Joshua 8
God encourages Joshua.
The stratagem whereby Ai was taken.
29 The king thereof is hanged.
30 Joshua builds an altar;
32 writes the law on stones;
33 and pronounces the blessings and curses.
Treasury of Scripture Knowledge

Joshua 8:29  (King James Version)
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.

the king
The kings of Canaan lay under the same curse as their subjects and probably were more deeply criminal. The reserving of the king of Ai for a solemn execution, would tend to strike terror into the other kings, contribute to the success of Israel, and give their proceedings the stamp of a judicial process, and of executing the vengeance of God upon his enemies.
Joshua 10:26-28 Joshua 10:30 Joshua 10:33 Deuteronomy 21:22 Deuteronomy 21:23 ; Esther 7:10 ; Psalms 107:40 ; 110:5 Acts 12:23
Revelation 19:17 Revelation 19:18

as soon

a great heap
7:26 2 Samuel 18:17