the waters which were flowing down from above stood and rose up in one heap, a great distance away at Adam, the city that is beside Zarethan ; and those which were flowing down toward the sea of the Arabah, the Salt Sea, were completely cut off. So the people crossed opposite Jericho.
Then Joshua made them take an oath at that time, saying, "Cursed before the LORD is the man who rises up and builds this city Jericho ; with the loss of his firstborn he shall lay its foundation, and with the loss of his youngest son he shall set up its gates."
"Therefore the sons of Israel cannot stand before their enemies ; they turn their backs before their enemies, for they have become accursed. I will not be with you anymore unless you destroy the things under the ban from your midst.
"Rise up! Consecrate the people and say, 'Consecrate yourselves for tomorrow, for thus the LORD, the God of Israel, has said, "There are things under the ban in your midst, O Israel. You cannot stand before your enemies until you have removed the things under the ban from your midst."
They raised over him a great heap of stones that stands to this day, and the LORD turned from the fierceness of His anger. Therefore the name of that place has been called the valley of Achor to this day.
Now the LORD said to Joshua, "Do not fear or be dismayed. Take all the people 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.
He hanged the king of Ai on a tree until evening ; and at sunset Joshua gave command and they took his body down from the tree and threw it at the entrance of the city gate, and raised over it a great heap of stones that stands to this day.
"Provide for yourselves three men from each tribe that I may send them, and that they may arise and walk through the land and write a description of it according to their inheritance ; then they shall return to me.
Then the men arose and went, and Joshua commanded those who went to describe the land, saying, "Go and walk through the land and describe it, and return to me; then I will cast lots for you here before the LORD in Shiloh."