Joshua · Chapter 8
Victory at Ai and the Altar on Mount Ebal
35 verses · ~4 min read · tap citations for Scripture
The moment Achan's sin is dealt with decisively in the Valley of Achor, the LORD's anger turns aside and He speaks warmly to Joshua: "Do not be afraid or discouraged." This time God does not have him send a token force, but commands him to march against Ai with the entire fighting force, promising to deliver its king, people, city, and land into his hand. Ai will share Jericho's fate with one striking difference: this time Israel may keep the livestock and plunder for themselves. And God Himself hands Joshua the battle plan: "Set an ambush behind the city" ().
Joshua acts immediately. Choosing thirty thousand valiant warriors, he dispatches them by night with orders to lie in ambush behind Ai, staying close and ready for his signal. Meanwhile Joshua and the main army will approach the front of the city; when Ai's defenders charge out just as before, Israel will feign defeat and flee to draw them far away from the gates. The moment the enemy leaves the city wide open in hot pursuit, the ambush force will spring up, seize the town, and set it ablaze exactly as the LORD commanded. That night the ambush troops slip silently into position between Bethel and Ai on the western side while Joshua spends the night among the people ().
Rising early next morning, Joshua musters the troops and marches with Israel's elders to camp north of Ai across a valley. He also positions roughly five thousand men in ambush west of Ai between Bethel and Ai, then goes down into the valley himself that night. Spotting Israel's army at dawn, the king of Ai hurries out with his entire force to attack facing the Arabah, completely unaware of the hidden force behind his back. Joshua and all Israel pretend to be beaten back and flee toward the wilderness. Taking the bait, every warrior in Ai—joined by men from Bethel—pours out in pursuit, leaving the city completely undefended behind them ().
The trap is sprung. The LORD tells Joshua: "Hold out the javelin in your hand toward Ai, for I will deliver the city into your hand." As soon as Joshua stretches out his javelin, the ambush troops leap from hiding, storm into the city, capture it, and set it on fire. Looking back over their shoulders, Ai's pursuers stare in horror at thick smoke rising into the sky from their town. Escape is impossible: ahead, Joshua's retreating main army wheels around to counterattack; behind, the ambush troops pour out of the burning city to seal their retreat. Caught in the pincer, Ai's forces are wiped out with no survivors ().
Israel captures the king of Ai alive and brings him to Joshua. Through the rest of the day they pursue Ai's fighters across the open countryside and wilderness, then return to put the remaining inhabitants of the city to the sword—twelve thousand men and women in all. Throughout the entire battle Joshua never lowers his outstretched hand holding the javelin until every inhabitant is completely destroyed. Israel keeps the livestock and spoils just as God permitted, leaving Ai burned into a permanent heap of ruins. As for the king of Ai, Joshua hangs his body on a tree until evening; right before sunset he commands the corpse taken down, cast at the city gate entrance, and covered with a great pile of stones ().
Then the narrative shifts into one of the most unexpected and solemn scenes in the whole book. Having conquered only two cities so far, Joshua leads the entire nation north to Mount Ebal and builds an altar of uncut stones untouched by any iron tool, exactly as Moses commanded. There Israel offers burnt offerings and peace offerings to the LORD, and Joshua inscribes a copy of the law of Moses on stones in full sight of all the people ().
The entire assembly of Israel—elders, officers, judges, women, little children, and even the foreigners living among them—gathers on both sides of the ark of the covenant facing the Levitical priests. Half stand in front of Mount Gerizim and half in front of Mount Ebal, exactly as Moses had directed before his death. Before everyone assembled, Joshua reads aloud every single word of the Book of the Law—both the blessings and the curses—omitting not one word ().
Key Takeaways
Failure is never final once sin is honestly resolved. One chapter earlier Joshua lay flat on his face in despair over Ai; in the opening verse of chapter 8, God lifts him up: "Do not be afraid or discouraged" (). God never discards His people over one fall; once sin is confessed and cleared away, He restores His presence and leads them to triumph on the very ground where they failed.
Trusting God never rules out wise strategy and careful preparation. At Jericho, God used seven days of silent marching and trumpets; at Ai, He directed night marches, decoys, ambushes, and full mobilization (). God refuses to be boxed into one predictable formula. True obedience means listening freshly to Him in every situation rather than assuming today must look identical to yesterday.
Waiting patiently on God brings full and honest blessing. Reading chapters 7 and 8 side by side exposes a heartbreaking irony: Achan gambled his life and household to steal one robe and a few pounds of silver at Jericho, losing everything; yet in the very next battle at Ai, God freely opened His hand and granted Israel the entire town's livestock and plunder (; ). Sin constantly tempts us to grab illicitly today what God gladly intends to give cleanly tomorrow.
Even mid-campaign, worship and hearing God's word come first. By military logic, right after Jericho and Ai fell, Joshua should have pressed the offensive before neighboring kings could unite. Instead, he halts the whole war effort to march women, children, and foreigners up to build an altar, offer sacrifices, and listen to the entire law (). Winning territory while forgetting the covenant makes victory meaningless.
Deeper Meaning
The altar stands right on the mountain of cursing. Moses designated Mount Gerizim for pronouncing blessings and Mount Ebal for pronouncing curses on lawbreakers (; ). Yet God commanded the sacrificial altar to be built on Mount Ebal—not Mount Gerizim (; ). The message runs deep: right where humanity deserves condemnation for failing to keep the law, God immediately plants an altar of atonement ("burnt offerings") and reconciliation ("peace offerings"). Grace answers right inside the shadow of the curse.
Joshua's raised javelin echoes Moses' raised staff. Joshua holding out his hand with the javelin without lowering it until Ai is completely defeated (; ) vividly recalls the wilderness battle against Amalek, where Moses held up the staff of God until sundown (). The sign assured Israel that the very God who stood with Moses now stood with Joshua—and however clever their ambush tactics, victory still rested wholly in God's hands.
The king of Ai hung on a tree foreshadows the cross. Taking down the king of Ai's body before sunset () faithfully obeyed Moses' law that "anyone who is hung on a tree is under God's curse," forbidding leaving a corpse overnight lest it defile the land (). Over a millennium later, Paul quotes that exact statute to unfold the gospel's wonder: Christ took the curse of the law upon Himself in our place by hanging on a tree ().
Returning to the exact ground where Abram built his first altar. Mounts Ebal and Gerizim flank the valley of Shechem—the very spot where centuries earlier, upon first entering Canaan, Abram received the promise, "To your offspring I will give this land," and built his first altar to the LORD, before moving south between Bethel and Ai to build his second (). Now his descendants return to that exact valley and raise an altar testifying that the ancient oath has come true.
The covenant embraces women, children, and resident foreigners. Twice during this solemn reading between the mountains, Scripture stresses the presence of "women, the little ones, and the foreigners who lived among them" (; ). Standing among those foreigners almost certainly stood Rahab's own household, newly rescued from Jericho. From the nation's very outset, God's covenant never shut out outsiders who feared Him.
Notes & Nuances
Why does 8:3 mention thirty thousand ambush troops while 8:12 mentions five thousand? Readers often pause over these two figures, and scholars offer three primary explanations. First, many see two distinct ambush detachments: a large force of thirty thousand dispatched the first night to block roads farther back or counter reinforcements from Bethel, and five thousand placed closer west of Ai the next day to rush straight in and torch the city. Second, several Old Testament scholars note that the Hebrew term normally translated thousand (eleph) also designated a military unit or clan squad much smaller than a literal thousand. Third, text-critical scholars suggest the book's compiler combined two ancient battle accounts while preserving both numbers intact.
The killing of twelve thousand residents and hanging the king of Ai. As with Jericho (chapter 6), putting all men and women of Ai to the sword and hanging its king before covering him with stones () strikes modern readers sharply. It belongs within the same framework of unique historical judgment and ancient Near Eastern war rhetoric discussed in chapter 6. Hanging a defeated ruler's corpse () was a standard ancient public proclamation of sentence, yet Mosaic law imposed an unusually humane restraint for the era by requiring burial before sundown ().
How do archaeologists debate the site of Ai? Excavations at the traditional candidate site (Et-Tell near Bethel) uncovered a major Early Bronze Age city destroyed around 2400 BC and left uninhabited throughout Joshua's period, with only a small village reappearing after 1200 BC. Consequently, some scholars view the story as an explanation of an ancient ruin—the Hebrew name Ai literally means the ruin. More conservative archaeologists counter that biblical Ai stood at a different nearby site—such as Khirbet el-Maqatir, where excavations revealed a small burned fortress dating around 1400 BC—or functioned as a military outpost tied closely to neighboring Bethel ().
Do Mounts Ebal and Gerizim really carry voices cleanly across the valley? The Shechem valley nestled between Ebal (north) and Gerizim (south) forms a natural acoustic amphitheater. Modern travelers and scholars have tested standing on opposite slopes and confirmed that strong voices spoken from the valley floor carry clearly to both hillsides. Centuries later, Samaritans designated Mount Gerizim as their sacred mountain—the very peak the Samaritan woman pointed to while speaking with Jesus ().
Why is no battle recorded on the way to Shechem before the ceremony on Mount Ebal? Shechem lies over twenty miles north of Ai deep in Canaan's central hill country, yet all Israel marches there peacefully for worship with no recorded clash. Some commentators note that clans around Shechem may have maintained old kin ties with Jacob's descendants or stayed paralyzed in dread after Jericho and Ai fell. Other scholars observe that the author of Joshua may have placed this covenant ceremony early right after chapter 8 for theological impact—putting covenant fidelity at the very heart of taking the land—rather than strict chronological order.
What Commentators Say (5)
The Mishnah, foundational Jewish legal collection edited around AD 200, vividly pictures the ceremony of blessings and curses between Mounts Gerizim and Ebal: six tribes stood on Gerizim, six on Ebal, with priests, Levites, and the ark in the valley between. Turning toward Gerizim they proclaimed each blessing, then turning toward Ebal they proclaimed each curse, while both mountain slopes answered in thunderous unison, "Amen!" (Mishnah, Sotah 7.5)
Confidence: HighMishnah Sotah 7:5 famously details the antiphonal Mount Gerizim and Mount Ebal ceremony with both slopes answering Amen
Origen, third-century Christian scholar in Alexandria, sees Joshua's outstretched javelin that never dropped (; ) as a figure of Jesus stretching out His arms on the cross until dark powers were vanquished. Turning to Mount Ebal, he reads the uncut stone altar untouched by iron (; cf. ) as true believers joined together without being scarred by iron blades of division, and inscribing the law on stone as God's word written on believing hearts. (Homilies on Joshua, Homilies 8 and 9)
Confidence: MediumOrigen reads Joshua's javelin as the cross in Homily 8 and expounds the uncut stone altar and inscribed law in Homily 9; exact wording not verified
Josephus, first-century Jewish historian, simplifies the ambush numbers in recounting the capture of Ai, describing only a single five-thousand-man detachment slipping behind the town by night rather than mentioning thirty thousand. He also recounts Joshua leading Israel to Shechem to erect the altar, offer sacrifices, and divide the tribes across the two mountains for blessings and curses exactly as Moses commanded. (Antiquities of the Jews, Book V, Chapter 1)
Confidence: MediumJosephus streamlines the ambush force and narrates the Shechem altar ceremony in Antiquities Book V Chapter 1; exact phrasing not checked
John Calvin, sixteenth-century Genevan Reformer, pauses carefully over the ethics of the ambush in 8:2: is luring an enemy into a trap dishonest? Calvin clearly separates legitimate wartime tactics from treachery or oath-breaking, especially since God Himself commanded the ambush here. He also highlights inscribing the law on stone () as reminding God's people that faith must anchor itself in God's clear written Scripture rather than hazy memory or shifting oral rumor. (Commentary on the Book of Joshua, on chapter 8)
Confidence: MediumCalvin's discussion of lawful military stratagems and the authority of written Scripture appears in his notes on Joshua 8; exact wording not checked
Matthew Henry, English pastor who died in 1714, draws a piercing lesson from 8:2 and 8:27: Achan's theft in chapter 7 looks doubly foolish when right at Ai in the very next battle God graciously hands Israel all the town's plunder honestly and openly—God's righteous path always rewards patient trust. Reflecting on the altar built atop Mount Ebal, the mountain of curses, Henry observes that right where the law pronounces judgment God places an altar of sacrifice, offering atoning grace at the exact spot humanity needs it most. (Commentary on the Whole Bible, on Joshua 8)
Confidence: Mediumhighlighting Achan's folly compared with Ai's lawful spoil and the altar of grace on Mount Ebal are classic Matthew Henry insights on chapter 8; exact wording not verified
Full chapter text · 35 verses
1Then the LORD said to Joshua, “Do not be afraid or discouraged. Take the whole army with you, and go up and attack Ai. See, I have delivered into your hand the king of Ai, his people, his city, and his land. 2And you shall do to Ai and its king as you did to Jericho and its king, except that you may carry off their plunder and livestock for yourselves. Set up an ambush behind the city.” 3So Joshua and the whole army set out to attack Ai. Joshua chose 30,000 mighty men of valor and sent them out at night 4with these orders: “Pay attention. You are to lie in ambush behind the city, not too far from it. All of you must be ready. 5Then I and all the troops with me will advance on the city. When they come out against us as they did the first time, we will flee from them. 6They will pursue us until we have drawn them away from the city, for they will say, ‘The Israelites are running away from us as they did before.’ So as we flee from them, 7you are to rise from the ambush and seize the city, for the LORD your God will deliver it into your hand. 8And when you have taken the city, set it on fire. Do as the LORD has commanded! See, I have given you orders.” 9So Joshua sent them out, and they went to the place of ambush and lay in wait between Bethel and Ai, to the west of Ai. But Joshua spent that night among the people. 10Joshua got up early the next morning and mobilized his men, and he and the elders of Israel marched before them up to Ai. 11Then all the troops who were with him marched up and approached the city. They arrived in front of Ai and camped to the north of it, with the valley between them and the city. 12Now Joshua had taken about five thousand men and set up an ambush between Bethel and Ai, to the west of the city. 13So the forces were stationed with the main camp to the north of the city and the rear guard to the west of the city. And that night Joshua went into the valley. 14When the king of Ai saw the Israelites, he hurried out early in the morning with the men of the city to engage them in battle at an appointed place overlooking the Arabah. But he did not know that an ambush had been set up against him behind the city. 15Joshua and all Israel let themselves be beaten back before them, and they fled toward the wilderness. 16Then all the men of Ai were summoned to pursue them, and they followed Joshua and were drawn away from the city. 17Not a man was left in Ai or Bethel who did not go out after Israel, leaving the city wide open while they pursued Israel. 18Then the LORD said to Joshua, “Hold out your battle lance toward Ai, for into your hand I will deliver the city.” So Joshua held out his battle lance toward Ai, 19and as soon as he did so, the men in ambush rose quickly from their position. They rushed forward, entered the city, captured it, and immediately set it on fire. 20When the men of Ai turned and looked back, the smoke of the city was rising into the sky. They could not escape in any direction, and the troops who had fled to the wilderness now became the pursuers. 21When Joshua and all Israel saw that the men in ambush had captured the city and that smoke was rising from it, they turned around and struck down the men of Ai. 22Meanwhile, those in the ambush came out of the city against them, and the men of Ai were trapped between the Israelite forces on both sides. So Israel struck them down until no survivor or fugitive remained. 23But they took the king of Ai alive and brought him to Joshua. 24When Israel had finished killing all the men of Ai who had pursued them into the field and wilderness, and when every last one of them had fallen by the sword, all the Israelites returned to Ai and put it to the sword as well. 25A total of twelve thousand men and women fell that day—all the people of Ai. 26Joshua did not draw back the hand that held his battle lance until he had devoted to destruction all who lived in Ai. 27Israel took for themselves only the cattle and plunder of that city, as the LORD had commanded Joshua. 28So Joshua burned Ai and made it a permanent heap of ruins, a desolation to this day. 29He hung the king of Ai on a tree until evening, and at sunset Joshua commanded that they take down the body from the tree and throw it down at the entrance of the city gate. And over it they raised a large pile of rocks, which remains to this day. 30At that time Joshua built an altar on Mount Ebal to the LORD, the God of Israel, 31just as Moses the servant of the LORD had commanded the Israelites. He built it according to what is written in the Book of the Law of Moses: “an altar of uncut stones on which no iron tool has been used.” And on it they offered burnt offerings to the LORD, and they sacrificed peace offerings. 32And there in the presence of the Israelites, Joshua inscribed on the stones a copy of the law of Moses, which he had written. 33All Israel, foreigners and citizens alike, with their elders, officers, and judges, stood on both sides of the ark of the covenant of the LORD facing the Levitical priests who carried it. Half of the people stood in front of Mount Gerizim and half of them in front of Mount Ebal, as Moses the servant of the LORD had commanded earlier, to bless the people of Israel. 34Afterward, Joshua read aloud all the words of the law—the blessings and the curses—according to all that is written in the Book of the Law. 35There was not a word of all that Moses had commanded that Joshua failed to read before the whole assembly of Israel, including the women, the little ones, and the foreigners who lived among them.