1But the Israelites broke faith in regard to the devoted things: Achan son of Carmi son of Zabdi son of Zerah, of the tribe of Judah, took some of the devoted things; and the anger of the LORD burned against the Israelites.
2Joshua 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.” And the men went up and spied out Ai. 3Then they returned to Joshua and said to him, “Not all the people need go up; about two or three thousand men should go up and attack Ai. Since they are so few, do not make the whole people toil up there.” 4So about three thousand of the people went up there; and they fled before the men of Ai. 5The men of Ai killed about thirty-six of them, chasing them from outside the gate as far as Shebarim and killing them on the slope. The hearts of the people melted and turned to water.
6Then Joshua tore his clothes, and fell to the ground on his face before the ark of the LORD until the evening, he and the elders of Israel; and they put dust on their heads. 7Joshua said, “Ah, Lord GOD! Why have you brought this people across the Jordan at all, to hand us over to the Amorites so as to destroy us? Would that we had been content to settle beyond the Jordan! 😯 Lord, what can I say, now that Israel has turned their backs to their enemies! 9The Canaanites and all the inhabitants of the land will hear of it, and surround us, and cut off our name from the earth. Then what will you do for your great name?”
10The LORD said to Joshua, “Stand up! Why have you fallen upon your face? 11Israel has sinned; they have transgressed my covenant that I imposed on them. They have taken some of the devoted things; they have stolen, they have acted deceitfully, and they have put them among their own belongings. 12Therefore the Israelites are unable to stand before their enemies; they turn their backs to their enemies, because they have become a thing devoted for destruction themselves. I will be with you no more, unless you destroy the devoted things from among you. 13Proceed to sanctify the people, and say, ‘Sanctify yourselves for tomorrow; for thus says the LORD, the God of Israel, “There are devoted things among you, O Israel; you will be unable to stand before your enemies until you take away the devoted things from among you.”