AND THE Lord said to Joshua, Fear not nor be dismayed. Take all the men of war with you, and arise, go up to Ai; see, I have given into your hand the king of Ai, his people, his city, and his land.
And you shall do to Ai and its king as you did to Jericho and its king, except that its spoil and its cattle [this time] you shall take as booty for yourselves. Lay an ambush against the city behind it.
So Joshua sent them forth, and they went to the place of ambush and remained between Bethel and Ai, on the west side of Ai; but Joshua lodged that night among the people.
And all the fighting men who were with him went up and drew near before the city and encamped on the north side of [it], with a ravine between them and Ai.
So they stationed all the army--the main encampment that was north of the city and their men in ambush behind and on the west of the city--and Joshua went that night into the midst of the ravine.
When the king [and people] of Ai saw it, they hastily rose early, and the men of the city went out against Israel to battle [at a time and place appointed] before the Arabah [plain]. But he did not know of the ambush against him behind the city.
Then the Lord said to Joshua, Stretch out the javelin that is in your hand toward Ai, for I will give it into your hand. So Joshua stretched out the javelin in his hand toward the city.
The men in the ambush arose quickly out of their place and ran when he stretched out his hand; and they entered the city and took it, and then hastened and set it afire.
When the men of Ai looked back, behold, the smoke of the city went up to the heavens, and they had no power to flee this way or that way. Then the Israelites who fled to the wilderness turned back upon the pursuers.
And the others came forth out of the city against them [of Ai], so that they were in the midst of Israel, some on this side and some on that side. And [the Israelites] smote them, so that they let none of them remain or escape.
When Israel had finished slaying all the inhabitants of Ai in the field and in the wilderness into which they pursued them, and they were all fallen by the sword until they were consumed, then all the Israelites returned to Ai and smote it with the sword.
And he hanged the king of Ai on a tree until evening; and at sunset, Joshua commanded and they took the body down from the tree and cast it at the entrance of the city gate and raised a great heap of stones over it that is there to this day.
As Moses the servant of the Lord commanded the Israelites, as it is written in the Book of the Law of Moses, an altar of unhewn stones, upon which no man has lifted up an iron tool; and they offered on it burnt offerings to the Lord and sacrificed peace offerings.
And all Israel, sojourner as well as he who was born among them, with their elders, officers, and judges, stood on either side of the ark before 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 before that they should bless the Israelites.
There was not a word of all that Moses commanded which Joshua did not read before all the assembly of Israel, and the women, and little ones, and the foreigners who were living among them.