Joshua 8:21-31

21 When Joshua and all Israel saw that the [men in] ambush had captured the city and that smoke was rising from it, they turned back and struck down the men of Ai.
22 The men in the ambush came out of the city against them, and the men of Ai were [trapped] between the Israelite forces, some on one side and some on the other. They struck them down until no survivor or fugitive remained,
23 but they captured the king of Ai alive and brought him to Joshua.
24 When Israel had finished killing everyone living in Ai who had pursued them into the open country, and when every last one of them had fallen by the sword, all Israel returned to Ai and struck it down with the sword.
25 The total of those who fell that day, both men and women, was 12,000-all the people of Ai.
26 Joshua did not draw back his hand that was holding the sword until all the inhabitants of Ai were completely destroyed.
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[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.

Renewed Commitment to the Law

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.[d] Then they offered burnt offerings to the Lord and sacrificed fellowship offerings on it.

Joshua 8:21-31 Meaning and Commentary

INTRODUCTION TO JOSHUA 8

Joshua is encouraged to go up and take Ai, and is directed what method to make use of, Jos 8:1,2; accordingly he set an ambush on the west side of it, and, he and the rest of the army went up before it, Jos 8:3-13; which, when the king of Ai saw, he and all his forces came cut against them, and the Israelites making a feint as if they were beaten, drew on the men of Ai to pursue them, upon which the ambush arose and entered the city and set fire to it, Jos 8:14-19; the smoke of which being observed by Joshua and Israel, they turned back upon the pursuers, and the ambush sallying out of the city behind them, made an entire destruction of them, then slew all the inhabitants, took the spoil, burnt the city, and hanged the king of it, Jos 8:20-29; after this Joshua built an altar at Ebal, wrote the law on stones, and read the blessings and curses in it before all Israel, Jos 8:30-35.

Footnotes 4

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