- The Jewish people betrayed their pledge to abide by the prohibition against taking any of the possessions of the city.
- Achan, the son of Karmi, the son of Zavdi, the son of Zerach from the tribe of Judah is the one who took from the consecrated possessions, and as a result, G-d was very angry with the Jewish people.
- Yehoshua sent people from Jericho to Aiy for the sake of spying the city.
- The spies return and inform Yehoshua of the potential easy conquest of the city: The spies returned and told Yehoshua that there is no need to send out many soldiers to conquest the city, as their inhabitants are few. They suggested to send between 2000 to 3000 soldiers and there is no need to trouble anyone else to come.
- Approximately 3000 soldiers went to battle Aiy and they fled from before the soldiers of Aiy. The army of Aiy killed 36 Jewish soldiers and chased after them from before the city gates until the area called Shevarim, and there they smote [the 36 soldiers] on the descending hill.
- The heart of the nation melted like water [becoming fearful that they could not be victorious].
- Yehoshua’s reaction: Yehoshua and the elders of Israel tore their garments and fell onto their faces to the ground before the Aron of Hashem. They placed earth on their heads.
- Yehoshua said to Hashem: “Why did you take us past the Jordan to deliver us into the hands of the Amorite and to destroy us. It would have been better if we would have remained on the other side of the Jordan [in the land of Sichon and Og that we already conquered]. What can I say after we saw the Jewish people flee before their enemies? The Canaanites and all the inhabitants of the land will hear about this and surround us and cut our name off from the earth, and what will become of Your great name?”
- Hashem replies to Yehoshua: Hashem told Yehoshua to get up from his falling position [and that it is his fault that the soldiers fell in battle, as Hashem told Yehoshua that he will be successful if he leads the battle, and here Yehoshua remained in the camp. In addition, Hashem never instructed Yehoshua to sanctify the plunder of the city, and it is his actions that caused the sin to take place]. Hashem told Yehoshua that the Jewish people have sinned and transgressed the covenant, by stealing from the consecrated plunder and lying about it. The Jewish people were not able to stand before their enemies, and they fled from before them due to the stealing of the consecrated item. Hashem warned Yehoshua that He cannot be with them unless they destroy the consecrated item from within their midst. “Go sanctify the nation and let them be prepared for tomorrow [for the consecrated item to be found and removed], as so says Hashem the G-d of Israel, that they will not be able to stand before their enemies until the consecrated item is removed from amongst you.”
- Hashem instructed Yehoshua as follows: In the morning, all the tribes shall gather [and pass before the Aron]. The tribe that will be captured [and freeze] in front of [the Aron of] Hashem [being unable to move] is to be singled out. [In addition, the tribes stood in front of the Urim Vetumim, and the tribes stone that shined was singled out.] The [male] family leaders [i.e. oldest living ancestor of a family] of that tribe are then to pass by [the Aron of Hashem] and the family leader who is captured [and frozen] before Hashem is to have the various family descendants [i.e. male leaders of the families of his descendants] pass before Hashem. The male family leader who is captured [and frozen] before the Aron of Hashem is then to have the men of that family pass forward.
- The punishment for the guilty individual: The person who is discovered to be guilty of stealing the consecrated item is to be burnt in the fire, him and all his belongings [including his tent, livestock and children, but not his wife].
- Yehoshua woke early in the morning and gathered the tribes.
- The perpetrator is caught: The tribe of Yehuda was selected [as their stone lit up when they passed before the Choshen, and they froze as they passed the Aron of Hashem]. The tribe of Yehuda was brought forward and [a lottery was made between the family leaders until] the family of Zarchi was selected. The many branches of the Zarchi family were brought forward and amongst them the Zavdi family was selected. All the men of the Zarchi family were brought forward and Achan, the son of Karmi, the son of Zavdi, the son of Zerach, of the tribe of Yehuda, was selected.
- Achan is pressed to confess: Yehoshua confronted Achan and pressed upon him to confess his sin [after he began attacking the validity of the selection process through a lottery system under the claim that someone had to be chosen]. Achan indeed confessed saying that he sinned to Hashem [not only with the stealing of these consecrated items, but also with stealing many other consecrated items in the times of Moshe. He confessed only after seeing that his tribe, Yehuda, was preparing to wage war against the rest of Bnei Yisrael, and many thousands would be killed.]
- Achan confessed that he coveted and stole from the plunder, a king’s garment from Babylon called “Aderet”, and two hundred silver Shekalim, and one bar of gold which weighed 50 Shekalim. Achan stated that the stolen items are buried in his tent, [with the gold buried under the Aderet garment].
- Yehoshua retrieves the items: Yehoshua sent messengers to retrieve the stolen items and they ran to the tent [of Achan due to joy of the items being found as well as to prevent the tribe of Judah or family of Achan from taking the items before they would arrive]. The items were removed from the tent and placed before Yehoshua and the entire Jewish people, and they were thrown before Hashem.
- Yehoshua took Achan the son of Zerach, and the Aderet garment, the bar of gold, his sons and daughters, his ox, donkeys, and sheep, his tent and all his belongings. He brought them, together with the entire Israel to the valley of Achor. Yehoshua said to Achan, “Just as you have caused us to become smitten, so too Hashem will smite you on this day.”
- All the Jewish people stoned him and burnt them in a fire and stoned them. They then established a stone mound over them, which remains there until this day. This place was named Emek Achor until this day.
- After the above events, Hashem rescinded His anger.
 Rashi 7:7
 Rashi 7:10; Rav Yosef Karo 7:10
 Metzudos David 6:13; Radak 6:14
 Radak 6:14
 Radak 6:14
 Radak 6:14
 See Rashi 6:14
 Rashi 6:15
 Radak 6:15
 Rashi 7:16
 Rashi 7:17; Radak 7:19
 See Rashi and Radak 7:19
 Rashi and Radak and Metzudos David 7:20; Sanhedrin 42b
 Rashi 7:20
 Radak and Metzudos David 7:21
 Radak 7:22
 Rashi and Metzudos David 7:22
 Who was killed and why is the stoning repeated? According to Rashi 7:25 only Achan and the animals were killed and not the rest of his family. [See Sanhedrin 44a] The family simply watched the stoning. [Ralbag 7:24] Achan was stoned to death for desecrating Shabbos. Likewise, the animals were stoned, and the belongings were burnt. However, according to other Mefarshim, they were all stoned. [See Metzudos David 7:25; Ralbag ibid; Radak 7:15]