26 For Joshua did not draw back his hand that was stretched out with 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 booty for themselves, according to the word of Yahweh that Joshua commanded.
28 So Joshua burned Ai and made it an everlasting heap of rubbish, a desolate place until this day.
29 The king of Ai he hanged on a tree until the time of evening, and as the sun went down Joshua commanded them, and they brought down his dead body from the tree. Then they threw it at the entrance of the gate of the city, and they raised over it a great heap of stones that remains to this day.
30 Then Joshua built an altar on Mount Ebal for Yahweh the God of Israel,
31 as Moses Yahweh’s servant commanded the Israelites, as it is written in the scroll of the law of Moses: “an altar of unhewn stones on which no one has wielded an iron implement.” And they offered burnt offerings on it and sacrificed fellowship offerings.
32 And there Joshua wrote on the stones a copy of the law of Moses, which he had written, in the presence of the Israelites.