Joshua 8:20-35

20 So when the men of Ai looked back, the smoke of the city was rising to the sky. They had no power to flee this way or that, for the people who fled to the wilderness turned back against the pursuers.
21 When Joshua and all Israel saw that the ambush had taken the city and that the smoke of the city was rising, then they turned back and struck down the men of Ai.
22 And the others came out from the city against them; so they were surrounded by Israelites, some on one side, and some on the other; and Israel struck them down until no one was left who survived or escaped.
23 But the king of Ai was taken alive and brought to Joshua.
24 When Israel had finished slaughtering all the inhabitants of Ai in the open wilderness where they pursued them, and when all of them to the very last had fallen by the edge of the sword, all Israel returned to Ai, and attacked it with the edge of the sword.
25 The total of those who fell that day, both men and women, was twelve thousand—all the people of Ai.
26 For Joshua did not draw back his hand, with which he stretched out the sword, until he had utterly destroyed all the inhabitants of Ai.
27 Only the livestock and the spoil of that city Israel took as their booty, according to the word of the Lord that he had issued to Joshua.
28 So Joshua burned Ai, and made it forever a heap of ruins, as it is to this day.
29 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, threw it down at the entrance of the gate of the city, and raised over it a great heap of stones, which stands there to this day.
30 Then Joshua built on Mount Ebal an altar to the Lord, the God of Israel,
31 just as Moses the servant of the Lord had commanded the Israelites, as it is written in the book of the law of Moses, "an altar of unhewn stones, on which no iron tool has been used"; and they offered on it burnt offerings to the Lord, and sacrificed offerings of well-being.
32 And there, in the presence of the Israelites, Joshua wrote on the stones a copy of the law of Moses, which he had written.
33 All Israel, alien as well as citizen, with their elders and officers and their judges, stood on opposite sides of the ark in front of the levitical priests who carried the ark of the covenant of the Lord, half of them in front of Mount Gerizim and half of them in front of Mount Ebal, as Moses the servant of the Lord had commanded at the first, that they should bless the people of Israel.
34 And afterward he read all the words of the law, blessings and curses, according to all that is written in the book of the law.
35 There was not a word of all that Moses commanded that Joshua did not read before all the assembly of Israel, and the women, and the little ones, and the aliens who resided among them.

Joshua 8:20-35 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 2

New Revised Standard Version Bible, copyright 1989, Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.