Now Joshua sent men from Jericho to Ai, which is near Beth-aven, east of Bethel, and said to them, “Go up and spy out the land.” So the men went up and spied out Ai. Then they returned to Joshua and said to him, “Do not make all the people go up [to fight]; have only about two thousand or three thousand men go up and attack Ai; do not make the entire army go up there, for they [of Ai] are few.” So about three thousand men from the sons of Israel went up there, but they fled [in retreat] from the men of Ai. The men of Ai killed about thirty-six of Israel’s men, and chased them from the gate as far as [the bluffs of] Shebarim and struck them down as they descended [the steep pass], so the hearts of the people melted [in despair and began to doubt God’s promise] and became like water (disheartened).
Then Joshua tore his clothes and fell face downward on the ground before the ark of the LORD until evening, he and the elders of Israel; and [with great sorrow] they put dust on their heads. Joshua said, “Alas, O Lord GOD, why have You brought this people across the Jordan at all, only to hand us over to the Amorites, to destroy us? If only we had been willing to live beyond the Jordan! O Lord, what can I say now that [the army of] Israel has turned back [in retreat and fled] before their enemies? For the Canaanites and all the inhabitants of the land will hear about it, and will surround us and cut off our name from the earth. And what will You do for Your great name [to keep it from dishonor]?”
So the LORD said to Joshua, “Get up! Why is it that you have fallen on your face? Israel has sinned; they have also transgressed My covenant which I commanded them [to keep]. They have even taken some of the things under the ban, and they have both stolen and denied [the theft]. Moreover, they have also put the stolen objects among their own things. That is why the soldiers of Israel could not stand [and defend themselves] before their enemies; they turned their backs [and ran] before them, because they have become accursed. I will not be with you anymore unless you destroy the things under the ban from among you. Rise up! Consecrate the people and say, ‘Consecrate yourselves for tomorrow, for thus says the LORD, the God of Israel: “There are things under the ban among you, O Israel. You cannot stand [victorious] before your enemies until you remove the things under the ban from among you.” In the morning you shall come forward by your tribes. And it shall be that the tribe which the LORD chooses by lot shall come forward by families, and the family which the LORD chooses shall come forward by [separate] households, and the household which the LORD chooses shall come forward man by man. It shall be that the one who is chosen with the things under the ban shall be [killed and his body] burned with fire, he and all that belongs to him, because he has transgressed the covenant of the LORD, and because he has done a disgraceful and disobedient thing in Israel.’ ” [Josh 7:25]
So Joshua got up early in the morning and had Israel come forward by tribes, and the tribe of Judah was chosen [by lot]. He had the families of Judah come forward, and the family of the Zerahites was chosen; and he had the family of the Zerahites come forward man by man, and Zabdi was chosen. He brought his household forward man by man; and Achan the son of Carmi, son of Zabdi, son of Zerah, of the tribe of Judah, was chosen. Then Joshua said to Achan, “My son, I implore you, give glory to the LORD, the God of Israel, and give praise to Him [in recognition of His righteous judgments]; and tell me now what you have done. Do not hide it from me.” So Achan answered Joshua and said, “In truth, I have sinned against the LORD, the God of Israel, and this is what I have done: when I saw among the spoils [in Jericho] a beautiful robe from Shinar (southern Babylon) and two hundred shekels of silver and a bar of gold weighing fifty shekels, I wanted them and took them. Behold, they are hidden in the ground inside my tent, with the silver underneath.”
So Joshua sent messengers, and they ran to the tent; and they saw the stolen objects hidden in his tent, with the silver underneath. And they took them from the tent and brought them to Joshua and to all the sons of Israel, and spread them out before the LORD. Then Joshua and all Israel with him, took Achan the son of Zerah, the silver, the [royal] robe, the bar of gold, his sons, his daughters, his oxen, his donkeys, his sheep, his tent, and everything that he had; and they brought them up to the Valley of Achor (Disaster). Joshua said, “Why have you brought disaster on us? The LORD will bring you disaster this day.” Then all Israel stoned them [to death] with stones; afterward they burned their bodies in the fire. Then they piled up over him a great heap of stones that remains to this day. Then the LORD turned from the fierceness of His anger. Therefore the name of that place has been called the Valley of Achor (Disaster) to this day.