5 When all the Amorite kings west of the Jordan and all the Canaanite kings who lived along the Mediterranean coast[a] heard how the Lord had dried up the Jordan River so the people of Israel could cross, they lost heart and were paralyzed with fear because of them.
2 At that time the Lord told Joshua, “Make flint knives and circumcise this second generation of Israelites.[b]” 3 So Joshua made flint knives and circumcised the entire male population of Israel at Gibeath-haaraloth.[c]
4 Joshua had to circumcise them because all the men who were old enough to fight in battle when they left Egypt had died in the wilderness. 5 Those who left Egypt had all been circumcised, but none of those born after the Exodus, during the years in the wilderness, had been circumcised. 6 The Israelites had traveled in the wilderness for forty years until all the men who were old enough to fight in battle when they left Egypt had died. For they had disobeyed the Lord, and the Lord vowed he would not let them enter the land he had sworn to give us—a land flowing with milk and honey. 7 So Joshua circumcised their sons—those who had grown up to take their fathers’ places—for they had not been circumcised on the way to the Promised Land. 8 After all the males had been circumcised, they rested in the camp until they were healed.
9 Then the Lord said to Joshua, “Today I have rolled away the shame of your slavery in Egypt.” So that place has been called Gilgal[d] to this day.
10 While the Israelites were camped at Gilgal on the plains of Jericho, they celebrated Passover on the evening of the fourteenth day of the first month.[e] 11 The very next day they began to eat unleavened bread and roasted grain harvested from the land. 12 No manna appeared on the day they first ate from the crops of the land, and it was never seen again. So from that time on the Israelites ate from the crops of Canaan.
13 When Joshua was near the town of Jericho, he looked up and saw a man standing in front of him with sword in hand. Joshua went up to him and demanded, “Are you friend or foe?”
14 “Neither one,” he replied. “I am the commander of the Lord’s army.”
At this, Joshua fell with his face to the ground in reverence. “I am at your command,” Joshua said. “What do you want your servant to do?”
15 The commander of the Lord’s army replied, “Take off your sandals, for the place where you are standing is holy.” And Joshua did as he was told.
6 Now the gates of Jericho were tightly shut because the people were afraid of the Israelites. No one was allowed to go out or in. 2 But the Lord said to Joshua, “I have given you Jericho, its king, and all its strong warriors. 3 You and your fighting men should march around the town once a day for six days. 4 Seven priests will walk ahead of the Ark, each carrying a ram’s horn. On the seventh day you are to march around the town seven times, with the priests blowing the horns. 5 When you hear the priests give one long blast on the rams’ horns, have all the people shout as loud as they can. Then the walls of the town will collapse, and the people can charge straight into the town.”
6 So Joshua called together the priests and said, “Take up the Ark of the Lord’s Covenant, and assign seven priests to walk in front of it, each carrying a ram’s horn.” 7 Then he gave orders to the people: “March around the town, and the armed men will lead the way in front of the Ark of the Lord.”
8 After Joshua spoke to the people, the seven priests with the rams’ horns started marching in the presence of the Lord, blowing the horns as they marched. And the Ark of the Lord’s Covenant followed behind them. 9 Some of the armed men marched in front of the priests with the horns and some behind the Ark, with the priests continually blowing the horns. 10 “Do not shout; do not even talk,” Joshua commanded. “Not a single word from any of you until I tell you to shout. Then shout!” 11 So the Ark of the Lord was carried around the town once that day, and then everyone returned to spend the night in the camp.
12 Joshua got up early the next morning, and the priests again carried the Ark of the Lord. 13 The seven priests with the rams’ horns marched in front of the Ark of the Lord, blowing their horns. Again the armed men marched both in front of the priests with the horns and behind the Ark of the Lord. All this time the priests were blowing their horns. 14 On the second day they again marched around the town once and returned to the camp. They followed this pattern for six days.
15 On the seventh day the Israelites got up at dawn and marched around the town as they had done before. But this time they went around the town seven times. 16 The seventh time around, as the priests sounded the long blast on their horns, Joshua commanded the people, “Shout! For the Lord has given you the town! 17 Jericho and everything in it must be completely destroyed[f] as an offering to the Lord. Only Rahab the prostitute and the others in her house will be spared, for she protected our spies.
18 “Do not take any of the things set apart for destruction, or you yourselves will be completely destroyed, and you will bring trouble on the camp of Israel. 19 Everything made from silver, gold, bronze, or iron is sacred to the Lord and must be brought into his treasury.”
20 When the people heard the sound of the rams’ horns, they shouted as loud as they could. Suddenly, the walls of Jericho collapsed, and the Israelites charged straight into the town and captured it. 21 They completely destroyed everything in it with their swords—men and women, young and old, cattle, sheep, goats, and donkeys.
22 Meanwhile, Joshua said to the two spies, “Keep your promise. Go to the prostitute’s house and bring her out, along with all her family.”
23 The men who had been spies went in and brought out Rahab, her father, mother, brothers, and all the other relatives who were with her. They moved her whole family to a safe place near the camp of Israel.
24 Then the Israelites burned the town and everything in it. Only the things made from silver, gold, bronze, or iron were kept for the treasury of the Lord’s house. 25 So Joshua spared Rahab the prostitute and her relatives who were with her in the house, because she had hidden the spies Joshua sent to Jericho. And she lives among the Israelites to this day.
26 At that time Joshua invoked this curse:
“May the curse of the Lord fall on anyone
who tries to rebuild the town of Jericho.
At the cost of his firstborn son,
he will lay its foundation.
At the cost of his youngest son,
he will set up its gates.”
27 So the Lord was with Joshua, and his reputation spread throughout the land.
7 But Israel violated the instructions about the things set apart for the Lord.[g] A man named Achan had stolen some of these dedicated things, so the Lord was very angry with the Israelites. Achan was the son of Carmi, a descendant of Zimri[h] son of Zerah, of the tribe of Judah.
2 Joshua sent some of his men from Jericho to spy out the town of Ai, east of Bethel, near Beth-aven. 3 When they returned, they told Joshua, “There’s no need for all of us to go up there; it won’t take more than two or three thousand men to attack Ai. Since there are so few of them, don’t make all our people struggle to go up there.”
4 So approximately 3,000 warriors were sent, but they were soundly defeated. The men of Ai 5 chased the Israelites from the town gate as far as the quarries,[i] and they killed about thirty-six who were retreating down the slope. The Israelites were paralyzed with fear at this turn of events, and their courage melted away.
6 Joshua and the elders of Israel tore their clothing in dismay, threw dust on their heads, and bowed face down to the ground before the Ark of the Lord until evening. 7 Then Joshua cried out, “Oh, Sovereign Lord, why did you bring us across the Jordan River if you are going to let the Amorites kill us? If only we had been content to stay on the other side! 8 Lord, what can I say now that Israel has fled from its enemies? 9 For when the Canaanites and all the other people living in the land hear about it, they will surround us and wipe our name off the face of the earth. And then what will happen to the honor of your great name?”
10 But the Lord said to Joshua, “Get up! Why are you lying on your face like this? 11 Israel has sinned and broken my covenant! They have stolen some of the things that I commanded must be set apart for me. And they have not only stolen them but have lied about it and hidden the things among their own belongings. 12 That is why the Israelites are running from their enemies in defeat. For now Israel itself has been set apart for destruction. I will not remain with you any longer unless you destroy the things among you that were set apart for destruction.
13 “Get up! Command the people to purify themselves in preparation for tomorrow. For this is what the Lord, the God of Israel, says: Hidden among you, O Israel, are things set apart for the Lord. You will never defeat your enemies until you remove these things from among you.
14 “In the morning you must present yourselves by tribes, and the Lord will point out the tribe to which the guilty man belongs. That tribe must come forward with its clans, and the Lord will point out the guilty clan. That clan will then come forward, and the Lord will point out the guilty family. Finally, each member of the guilty family must come forward one by one. 15 The one who has stolen what was set apart for destruction will himself be burned with fire, along with everything he has, for he has broken the covenant of the Lord and has done a horrible thing in Israel.”
16 Early the next morning Joshua brought the tribes of Israel before the Lord, and the tribe of Judah was singled out. 17 Then the clans of Judah came forward, and the clan of Zerah was singled out. Then the families of Zerah came forward, and the family of Zimri was singled out. 18 Every member of Zimri’s family was brought forward person by person, and Achan was singled out.
19 Then Joshua said to Achan, “My son, give glory to the Lord, the God of Israel, by telling the truth. Make your confession and tell me what you have done. Don’t hide it from me.”
20 Achan replied, “It is true! I have sinned against the Lord, the God of Israel. 21 Among the plunder I saw a beautiful robe from Babylon,[j] 200 silver coins,[k] and a bar of gold weighing more than a pound.[l] I wanted them so much that I took them. They are hidden in the ground beneath my tent, with the silver buried deeper than the rest.”
22 So Joshua sent some men to make a search. They ran to the tent and found the stolen goods hidden there, just as Achan had said, with the silver buried beneath the rest. 23 They took the things from the tent and brought them to Joshua and all the Israelites. Then they laid them on the ground in the presence of the Lord.
24 Then Joshua and all the Israelites took Achan, the silver, the robe, the bar of gold, his sons, daughters, cattle, donkeys, sheep, goats, tent, and everything he had, and they brought them to the valley of Achor. 25 Then Joshua said to Achan, “Why have you brought trouble on us? The Lord will now bring trouble on you.” And all the Israelites stoned Achan and his family and burned their bodies. 26 They piled a great heap of stones over Achan, which remains to this day. That is why the place has been called the Valley of Trouble[m] ever since. So the Lord was no longer angry.
8 Then the Lord said to Joshua, “Do not be afraid or discouraged. Take all your fighting men and attack Ai, for I have given you the king of Ai, his people, his town, and his land. 2 You will destroy them as you destroyed Jericho and its king. But this time you may keep the plunder and the livestock for yourselves. Set an ambush behind the town.”
3 So Joshua and all the fighting men set out to attack Ai. Joshua chose 30,000 of his best warriors and sent them out at night 4 with these orders: “Hide in ambush close behind the town and be ready for action. 5 When our main army attacks, the men of Ai will come out to fight as they did before, and we will run away from them. 6 We will let them chase us until we have drawn them away from the town. For they will say, ‘The Israelites are running away from us as they did before.’ Then, while we are running from them, 7 you will jump up from your ambush and take possession of the town, for the Lord your God will give it to you. 8 Set the town on fire, as the Lord has commanded. You have your orders.”
9 So they left and went to the place of ambush between Bethel and the west side of Ai. But Joshua remained among the people in the camp that night. 10 Early the next morning Joshua roused his men and started toward Ai, accompanied by the elders of Israel. 11 All the fighting men who were with Joshua marched in front of the town and camped on the north side of Ai, with a valley between them and the town. 12 That night Joshua sent about 5,000 men to lie in ambush between Bethel and Ai, on the west side of the town. 13 So they stationed the main army north of the town and the ambush west of the town. Joshua himself spent that night in the valley.
14 When the king of Ai saw the Israelites across the valley, he and all his army hurried out early in the morning and attacked the Israelites at a place overlooking the Jordan Valley.[n] But he didn’t realize there was an ambush behind the town. 15 Joshua and the Israelite army fled toward the wilderness as though they were badly beaten. 16 Then all the men in the town were called out to chase after them. In this way, they were lured away from the town. 17 There was not a man left in Ai or Bethel[o] who did not chase after the Israelites, and the town was left wide open.
18 Then the Lord said to Joshua, “Point the spear in your hand toward Ai, for I will hand the town over to you.” Joshua did as he was commanded. 19 As soon as Joshua gave this signal, all the men in ambush jumped up from their position and poured into the town. They quickly captured it and set it on fire.
20 When the men of Ai looked behind them, smoke from the town was filling the sky, and they had nowhere to go. For the Israelites who had fled in the direction of the wilderness now turned on their pursuers. 21 When Joshua and all the other Israelites saw that the ambush had succeeded and that smoke was rising from the town, they turned and attacked the men of Ai. 22 Meanwhile, the Israelites who were inside the town came out and attacked the enemy from the rear. So the men of Ai were caught in the middle, with Israelite fighters on both sides. Israel attacked them, and not a single person survived or escaped. 23 Only the king of Ai was taken alive and brought to Joshua.
24 When the Israelite army finished chasing and killing all the men of Ai in the open fields, they went back and finished off everyone inside. 25 So the entire population of Ai, including men and women, was wiped out that day—12,000 in all. 26 For Joshua kept holding out his spear until everyone who had lived in Ai was completely destroyed.[p] 27 Only the livestock and the treasures of the town were not destroyed, for the Israelites kept these as plunder for themselves, as the Lord had commanded Joshua. 28 So Joshua burned the town of Ai,[q] and it became a permanent mound of ruins, desolate to this very day.
29 Joshua impaled the king of Ai on a sharpened pole and left him there until evening. At sunset the Israelites took down the body, as Joshua commanded, and threw it in front of the town gate. They piled a great heap of stones over him that can still be seen today.
30 Then Joshua built an altar to the Lord, the God of Israel, on Mount Ebal. 31 He followed the commands that Moses the Lord’s servant had written in the Book of Instruction: “Make me an altar from stones that are uncut and have not been shaped with iron tools.”[r] Then on the altar they presented burnt offerings and peace offerings to the Lord. 32 And as the Israelites watched, Joshua copied onto the stones of the altar[s] the instructions Moses had given them.
33 Then all the Israelites—foreigners and native-born alike—along with the elders, officers, and judges, were divided into two groups. One group stood in front of Mount Gerizim, the other in front of Mount Ebal. Each group faced the other, and between them stood the Levitical priests carrying the Ark of the Lord’s Covenant. This was all done according to the commands that Moses, the servant of the Lord, had previously given for blessing the people of Israel.
34 Joshua then read to them all the blessings and curses Moses had written in the Book of Instruction. 35 Every word of every command that Moses had ever given was read to the entire assembly of Israel, including the women and children and the foreigners who lived among them.