The chapter opens with a troubling note: the Israelites acted unfaithfully regarding the devoted things, for Achan, son of Carmi, of the tribe of Judah, took some of what was devoted, and the Lord's anger burned against Israel. Joshua sends spies to Ai, who report that there is no need to send all the people; about three thousand men will do. They go up but flee before the men of Ai, who kill about thirty-six of them. The hearts of the people melt like water.
Joshua tears his clothes and falls on his face before the ark until evening, along with the elders of Israel. He complains to God for bringing them across the Jordan and fears that the Canaanites will hear and wipe them out, and for the honor of the Lord's name. God answers that he should get up: Israel has sinned, broken the covenant, taken what was devoted, stolen and lied. They cannot stand before their enemies until they remove what was devoted from among them.
In the morning the Lord orders them to come forward by tribes. The lot falls on Judah, then on the clan of Zerah, on Zabdi and on Achan. Joshua asks him to confess. Achan admits that he saw among the plunder a beautiful cloak from Shinar, two hundred shekels of silver and a bar of gold weighing fifty shekels, coveted them, took them and hid them in the ground inside his tent. The messengers find everything there. Israel brings Achan, the stolen goods and his family to the Valley of Achor, where they stone and burn them, and raise over them a great heap of stones. The Lord turns from the fierceness of his anger.