How Joshua Found the Thief Who Made Israel Lose at Ai
After a humiliating military defeat that killed thirty-six men, Joshua fell to the ground before the Ark in anguish. God told him to stand up. Someone had stolen consecrated goods from Jericho, and the community could not advance until the hidden sin was exposed and the thief was found.
Table of Contents
The city of Ai should have been easy. Jericho had fallen with miraculous assistance, its walls collapsing before the sound of the shofar and the march of the priests. Ai was smaller, and Joshua's scouts returned from reconnaissance with confidence: do not send all the people, two or three thousand men are enough (Joshua 7:3). The men of Ai routed them. Thirty-six Israelites died. The survivors fled. And Joshua, the leader who had just inherited Moses' mantle, lay face down before the Ark and did not know what to do.
God's Reply to Joshua's Despair
Pirkei DeRabbi Eliezer, compiled in eighth-century Palestine, opens its account of the Ai episode with Joshua in full lamentation, his clothes torn, dust on his head, prostrate before the Ark of the Covenant. He said to God: why did You bring this people across the Jordan only to give us into the hands of the Amorites to destroy us? (Joshua 7:7). It is Moses' question after the golden calf, transposed into a military disaster. The leader who has just lost people under his command cannot understand what has gone wrong.
God's response was not comforting in the way Joshua needed. Stand up, God said. Why are you fallen on your face? Israel has sinned. They have taken from the devoted things. They have stolen and deceived and put them among their own belongings. I will not be with you again unless you destroy the devoted thing from among you (Joshua 7:10-12). The defeat at Ai was not about military strategy or numerical disadvantage. Someone had violated the ban on the spoils of Jericho. The community was contaminated by a hidden sin, and no amount of military reorganization would fix it until the sin was found and dealt with.
The Lot That Found the Thief
How do you find one thief in a camp of hundreds of thousands? Pirkei DeRabbi Eliezer describes the process with particular attention to the mechanism. Joshua summoned all of Israel and cast lots by tribe. The lot fell on Judah. Then by clan within Judah; it fell on the Zerahites. Then by family; it fell on Zabdi. Then by household; it fell on Achan son of Carmi.
The casting of lots in the tradition is not merely a random selection process. The midrash-aggadah texts consistently treat the Urim and Thummim and the casting of lots as oracular tools, means of accessing divine knowledge that bypasses human limitation. The lot that found Achan was not a probability exercise. It was a directed inquiry, and the answer it returned was exact: this man, this family, this tent.
Joshua said to Achan: my son, give glory to the Lord God of Israel and give him praise, and tell me now what you have done; do not hide it from me (Joshua 7:19). The phrase give glory to God by confessing is one the rabbis found significant. The traditions about Achan's confession wrestle with the moral structure of a system where confession is demanded after the lot has already identified the guilty party. What is the purpose of a confession the confessor cannot avoid?
What Achan Took
Achan told Joshua exactly what he had taken: a beautiful Shinar mantle, two hundred silver shekels, and a bar of gold weighing fifty shekels. He had seen them, he said, he had desired them, and he had taken them (Joshua 7:21). The sequence is precise: seeing, then desiring, then acting. The midrash on this confession reads it as a paradigm for the mechanism of sin: nothing happens without first having been seen, then wanted. The desire that followed seeing, and the action that followed desire, are each a step that could have been refused.
Achan had taken the goods during the fall of Jericho, when every Israelite had been explicitly warned that all the silver, gold, bronze, and iron were consecrated to God and must go into the treasury (Joshua 6:19). The beauty of the mantle, the weight of the gold: these were the specific qualities that had activated the desire that led to the theft. He had hidden them under his tent. While they lay there, God's presence could not go with Israel into battle.
The Legends of the Jews tradition adds that Achan's theft was not discovered immediately because the lot-casting process was complicated by others who had also taken things from Jericho but on a smaller scale. Achan was the primary thief, but the entire community's willingness to transgress the ban made the purification process more extensive.
The Punishment and the Valley
Achan was taken with his sons and daughters, his oxen and donkeys and sheep, his tent and everything he owned, to the Valley of Achor. They stoned him, burned everything, and raised a great heap of stones over him. The valley was called the Valley of Trouble, Achor, a name derived from the Hebrew root meaning to trouble or disturb, because Achan had troubled Israel.
The prophet Hosea would later transform this place. He wrote (Hosea 2:17) that God would make the Valley of Achor a door of hope. The place of the community's most painful communal reckoning, where the hidden sin was exposed and dealt with, would become the site of renewal. Trouble is not permanent. The valley where the community faced what it had done and addressed it is the door through which hope enters.
The death of Achan and the related traditions about the fall of Jericho and the aftermath of the ban are preserved across the midrash-aggadah collection. They are not just military history. They are a theology of communal integrity: the idea that a community moves or stalls together, that one hidden sin in one tent under the ground can stop an entire nation at the gates of what they came to claim. Joshua fell on his face. God told him to stand up and look for the reason. The reason was found. The reason was dealt with. And the next battle, Ai, was won.