But Israel violated the instructions about the things set apart for the LORD . A man named Achan had stolen some of these dedicated things, so the LORD was very angry with the Israelites. Achan was the son of Carmi, a descendant of Zimri son of Zerah, of the tribe of Judah.
Joshua sent some of his men from Jericho to spy out the town of Ai, east of Bethel, near Beth-aven.
When they returned, they told Joshua, “There’s no need for all of us to go up there; it won’t take more than two or three thousand men to attack Ai. Since there are so few of them, don’t make all our people struggle to go up there.”
So approximately 3,000 warriors were sent, but they were soundly defeated. The men of Ai
chased the Israelites from the town gate as far as the quarries, and they killed about thirty-six who were retreating down the slope. The Israelites were paralyzed with fear at this turn of events, and their courage melted away.
Joshua and the elders of Israel tore their clothing in dismay, threw dust on their heads, and bowed face down to the ground before the Ark of the LORD until evening.
Then Joshua cried out, “Oh, Sovereign LORD, why did you bring us across the Jordan River if you are going to let the Amorites kill us? If only we had been content to stay on the other side!
Lord, what can I say now that Israel has fled from its enemies?
For when the Canaanites and all the other people living in the land hear about it, they will surround us and wipe our name off the face of the earth. And then what will happen to the honor of your great name?”
But the LORD said to Joshua, “Get up! Why are you lying on your face like this?
Israel has sinned and broken my covenant! They have stolen some of the things that I commanded must be set apart for me. And they have not only stolen them but have lied about it and hidden the things among their own belongings.
That is why the Israelites are running from their enemies in defeat. For now Israel itself has been set apart for destruction. I will not remain with you any longer unless you destroy the things among you that were set apart for destruction.
“Get up! Command the people to purify themselves in preparation for tomorrow. For this is what the LORD, the God of Israel, says: Hidden among you, O Israel, are things set apart for the LORD . You will never defeat your enemies until you remove these things from among you.
“In the morning you must present yourselves by tribes, and the LORD will point out the tribe to which the guilty man belongs. That tribe must come forward with its clans, and the LORD will point out the guilty clan. That clan will then come forward, and the LORD will point out the guilty family. Finally, each member of the guilty family must come forward one by one.
The one who has stolen what was set apart for destruction will himself be burned with fire, along with everything he has, for he has broken the covenant of the LORD and has done a horrible thing in Israel.”
Early the next morning Joshua brought the tribes of Israel before the LORD, and the tribe of Judah was singled out.
Then the clans of Judah came forward, and the clan of Zerah was singled out. Then the families of Zerah came forward, and the family of Zimri was singled out.
Every member of Zimri’s family was brought forward person by person, and Achan was singled out.
Then Joshua said to Achan, “My son, give glory to the LORD, the God of Israel, by telling the truth. Make your confession and tell me what you have done. Don’t hide it from me.”
Achan replied, “It is true! I have sinned against the LORD, the God of Israel.
Among the plunder I saw a beautiful robe from Babylon, 200 silver coins, and a bar of gold weighing more than a pound. I wanted them so much that I took them. They are hidden in the ground beneath my tent, with the silver buried deeper than the rest.”
So Joshua sent some men to make a search. They ran to the tent and found the stolen goods hidden there, just as Achan had said, with the silver buried beneath the rest.
They took the things from the tent and brought them to Joshua and all the Israelites. Then they laid them on the ground in the presence of the LORD .
Then Joshua and all the Israelites took Achan, the silver, the robe, the bar of gold, his sons, daughters, cattle, donkeys, sheep, goats, tent, and everything he had, and they brought them to the valley of Achor.
Then Joshua said to Achan, “Why have you brought trouble on us? The LORD will now bring trouble on you.” And all the Israelites stoned Achan and his family and burned their bodies.
They piled a great heap of stones over Achan, which remains to this day. That is why the place has been called the Valley of Trouble ever since. So the LORD was no longer angry.