22
Then the others came out of the city against them; so they were caught in the midst of Israel, some on this side and some on that side. And they struck them down, so that they let none of them remain or escape.
23
But the king of Ai they took alive, and brought him to Joshua.
24
And it came to pass when Israel had made an end of slaying all the inhabitants of Ai in the field, in the wilderness where they pursued them, and when they all had fallen by the edge of the sword until they were consumed, that all the Israelites returned to Ai and struck it with the edge of the sword.
25
So it was that all who fell that day, both men and women, were twelve thousand--all the people of Ai.
26
For Joshua did not draw back his hand, with which he stretched out the spear, until he had utterly destroyed all the inhabitants of Ai.
27
Only the livestock and the spoil of that city Israel took as booty for themselves, according to the word of the Lord which He had commanded Joshua.
28
So Joshua burned Ai and made it a heap forever, a desolation to this day.
29
And the king of Ai he hanged on a tree until evening. And as soon as the sun was down, Joshua commanded that they should take his corpse down from the tree, cast it at the entrance of the gate of the city, and raise over it a great heap of stones that remains to this day.
30
Now Joshua built an altar to the Lord God of Israel in Mount Ebal,
31
as Moses the servant of the Lord had commanded the children of Israel, as it is written in the Book of the Law of Moses: "an altar of whole stones over which no man has wielded an iron tool." And they offered on it burnt offerings to the Lord, and sacrificed peace offerings.
32
And there, in the presence of the children of Israel, he wrote on the stones a copy of the law of Moses, which he had written.