Joshua 8: Victory at Ai and Covenant Renewal

Short answer: Joshua 8 tells how God gave Israel victory over Ai after their earlier defeat, using an ambush and the sign of the javelin. It ends with Joshua building an altar on Mount Ebal and reading the law to all the people.

What Joshua 8 says

The chapter opens with Yahweh speaking to Joshua, telling him not to fear or be dismayed. He commands Joshua to take all the warriors and go up to Ai, promising to give the king, people, city, and land into his hand. Unlike Jericho, the goods and livestock may be taken as plunder. Joshua obeys, choosing thirty thousand mighty men and sending them out by night to set an ambush behind the city. He instructs them to lie in wait, then he and the main force will approach and flee when the men of Ai come out, drawing them away. The ambush will then rise and take the city, setting it on fire. Joshua sends them off, and they position themselves between Bethel and Ai on the west side, while Joshua stays among the people that night.

Early the next morning, Joshua musters the people and leads them up to Ai with the elders. The main army encamps on the north side of the city, with a valley between them and Ai. Joshua also sets about five thousand men in ambush on the west side. That night he goes into the middle of the valley. When the king of Ai sees the approaching force, he and his men hurry out early to battle at the appointed time before the Arabah. He does not know an ambush is set behind the city. Joshua and all Israel pretend to be beaten and flee toward the wilderness. All the men of Ai are called together to pursue, leaving the city open. Not a man remains in Ai or Bethel who does not go out after Israel.

Then Yahweh tells Joshua to stretch out the javelin in his hand toward Ai, for He will give it into his hand. Joshua does so. The ambush rises quickly from their place, runs into the city, takes it, and sets it on fire. When the men of Ai look back, they see the smoke ascending and have no power to flee either way. Those who fled to the wilderness turn back on the pursuers. Joshua and all Israel see that the ambush has taken the city, so they turn back and kill the men of Ai. The others come out of the city against them, so the men of Ai are caught in the middle, with Israelites on both sides. They strike them down, leaving none remaining or escaping. They capture the king of Ai alive and bring him to Joshua. Israel finishes killing all the inhabitants in the field and wilderness, then returns to Ai and strikes it with the sword. All who fall that day, men and women, number twelve thousand. Joshua does not draw back his hand with the javelin until all are destroyed. Israel takes only the livestock and goods, as Yahweh commanded. Joshua burns Ai and makes it a heap forever. He hangs the king on a tree until evening, then has the body taken down and thrown at the city gate, raising a great heap of stones over it.

Afterward, Joshua builds an altar to Yahweh, the God of Israel, on Mount Ebal, as Moses commanded. It is an altar of uncut stones, on which no iron tool was used. They offer burnt offerings and peace offerings. Joshua writes a copy of Moses' law on the stones in the presence of the people. All Israel, with elders, officers, and judges, stands on both sides of the ark before the Levitical priests who carry it. The foreigner and native alike are present, half in front of Mount Gerizim and half in front of Mount Ebal, as Moses had commanded, to bless the people. Then Joshua reads all the words of the law, the blessing and the curse, just as written. Not a word of all Moses commanded is left unread before the whole assembly, including women, little ones, and foreigners among them.

Verses that carry the chapter

  • “Yahweh said to Joshua, “Don’t be afraid, and don’t be dismayed. Take all the warriors with you, and arise, go up to Ai. Behold, I have given into your hand the king of Ai, with his people, his city, and his land.” (Joshua 8:1) — God's direct reassurance and promise of victory set the tone for the entire chapter, showing that the initiative and outcome belong to Him.
  • “Yahweh said to Joshua, “Stretch out the javelin that is in your hand toward Ai, for I will give it into your hand.” (Joshua 8:18) Joshua stretched out the javelin that was in his hand toward the city.” (Joshua 8:18) — The stretched-out javelin is the human action that God uses to signal the ambush, highlighting the partnership between divine command and human obedience.
  • “For Joshua didn’t draw back his hand, with which he stretched out the javelin, until he had utterly destroyed all the inhabitants of Ai.” (Joshua 8:26) — Joshua's unwavering hand until the destruction is complete underscores the totality of the judgment and his commitment to carry out God's word.
  • “Then Joshua built an altar to Yahweh, the God of Israel, on Mount Ebal,” (Joshua 8:30) — The altar on Mount Ebal marks a shift from warfare to worship, showing that the conquest is not an end in itself but leads to covenant renewal.

Gospel connection

The victory at Ai follows the pattern of God's grace in the face of human failure. Israel's earlier defeat because of sin is reversed when they obey God's instructions. The ambush and the outstretched javelin show that God gives victory through means that require faith and action. The destruction of Ai and its king points to the seriousness of sin and the judgment that falls on those who oppose God's purposes. Yet the chapter does not end in slaughter but in worship. Joshua builds an altar and reads the law, including blessings and curses, to the whole assembly. This anticipates the greater Joshua, Jesus, who secures a victory over sin and death and leads His people into a covenant relationship with God. The inclusion of foreigners in the assembly foreshadows the gospel going to all nations, where blessing and curse are set before every person, and the obedience of Christ brings blessing to all who believe.

Application

This chapter asks the reader to trust God's promises even after failure. The Israelites had been defeated at Ai because of sin, but God did not abandon them. He gave them a new command and a new strategy. For us, it means that past failures do not disqualify us from future obedience. God's grace invites us to rise again, to listen carefully to His word, and to act in faith. The ambush required patience and precise timing. We are often tempted to rush or to rely on our own strength, but the victory came when Joshua followed God's instructions exactly. The javelin stretched out was a simple act of obedience that unleashed God's power. Finally, the altar and the reading of the law remind us that our lives are not just about winning battles but about worship and covenant faithfulness. We are called to gather with God's people, to hear His word, and to include the outsider among us, just as Israel included the foreigner in the assembly.

Biblical fidelity check

The chapter does not tell us how Joshua felt about the earlier defeat at Ai, nor does it record any conversation between Joshua and God about the strategy beyond what is stated. It does not describe the size of the ambush force beyond the numbers given, nor does it explain why thirty thousand were chosen initially and then five thousand set in ambush. It does not name the king of Ai or give details about the city's defenses. It does not say how the men of Ai discovered the smoke or what they thought. It does not describe the reactions of the Israelites to the plunder or the destruction. It does not explain why the altar was built on Mount Ebal specifically beyond Moses' command. It does not list the specific blessings and curses read, nor does it tell us how long the ceremony lasted. The text is silent on the eternal destiny of the people of Ai and on the later history of the heap of stones.

Questions for study

  1. What does God's command in verse 1 reveal about His character and His response to Israel's previous failure?
  2. Why do you think God used an ambush and a signal with a javelin instead of a direct frontal assault? What does this teach about obedience?
  3. The men of Ai left their city open to pursue Israel. How does this illustrate the danger of overconfidence or being deceived?
  4. In verses 30 to 35, the chapter shifts from battle to worship. Why is it significant that Joshua built an altar and read the law after the victory?
  5. The assembly included foreigners along with Israelites. What does this suggest about who belongs in the community of faith and how they are included?

Keep reading

Related studies: Joshua 10 Bible Study, Joshua 11 Bible Study, Joshua 12 Bible Study, Joshua 13 Bible Study.

Subscribe for new Bible studies or support this work.

FAQ

Why did God allow Israel to take plunder from Ai when they could not from Jericho?

In verse 2, God explicitly permits Israel to take the goods and livestock of Ai, contrasting with Jericho where everything was devoted to destruction. This shows that God's commands are specific and not always uniform.

What was the purpose of the altar on Mount Ebal?

The altar was built in obedience to Moses' command to worship Yahweh and to write the law on stones. It served as a place of sacrifice and a public declaration of covenant faithfulness.

Why did Joshua hang the king of Ai on a tree until evening?

The text does not explain the reason, but it was a public display of judgment. Joshua followed the practice of removing the body by sundown, as the law of Moses required, and then threw it at the city gate.

Previous
Previous

Joshua 9: Gibeon's Deception and Israel's Oath

Next
Next

Joshua 7: Israel Defeated at Ai and Achan's Sin