So the first thing the next morning, Joshua made the army pass before him in a long procession, tribe after tribe, and he chose the tribe of Judah. Then he made the tribe of Judah pass before him, family by family, and he chose the family of Zerah. Then he made the family of Zerah pass before him, household by household, and he chose the household of Carmi. Then he made the household of Carmi pass before him, man by man, and he chose Achan. And there was Achan discovered before all the people.

And Joshua said, “My son, tell me what you have done. Do not hide anything from me.”

And Achan answered, “I have sinned against the Lord God of Israel. When we took Jericho, I saw a shining wedge of gold, and a goodly garment, and a pile of silver pieces, and I coveted them and carried them away and hid them in my tent. There they are, buried in the earth.”

So Joshua sent messengers, and they ran to Achan’s tent, and there they found even as Achan had said. And they took the gold and silver and the garment and brought them to Joshua. And Joshua led Achan apart into a valley, and said, “Why hast thou troubled Israel? The Lord shall trouble thee this day.” And Joshua commanded, and the soldiers stoned Achan with stones until he died, and a great heap of stones was piled upon his body.

Then Joshua attacked Ai again. But this time he was more careful. He sent a great company of soldiers by night into an ambush behind the town. And in the morning he marched up the hill, and when the men of Ai came out again, very bold and fierce, he pretended to be frightened and made his soldiers run away, so that the men of Ai ran after them. All the men of Ai ran out of the town