27. Israel plundered only the cattle and spoil of that city for themselves, according to the Lord’s command that He had given Joshua.
28. Joshua burned Ai and left it a permanent ruin, desolate to this day.
29. He hung the body of the king of Ai on a tree until evening, and at sunset Joshua commanded that they take his body down from the tree. They threw it down at the entrance of the city gate and put a large pile of rocks over it, which remains to this day.
30. At that time Joshua built an altar on Mount Ebal to the Lord, the God of Israel,
31. just as Moses the Lord’s servant had commanded the Israelites. He built it according to what is written in the book of the law of Moses: an altar of uncut stones on which no iron tool has been used. Then they offered burnt offerings to the Lord and sacrificed fellowship offerings on it.
32. There on the stones, Joshua copied the law of Moses, which he had written in the presence of the Israelites.