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.
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.
So Joshua burned Ai, and made it forever a heap of ruins, as it is to 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, 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.
Then Joshua built on Mount Ebal an altar to the Lord, the God of Israel,
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.
References for Joshua 8:31
And there, in the presence of the Israelites, Joshua wrote on the stones a copy of the law of Moses, which he had written.
References for Joshua 8:32
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.
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.
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.