Background
Joshua 8 is the second attempt on Ai. In chapter 7 a small force went up against the city and fled, about thirty-six men died (Josh. 7:5), and the cause was found in Achan, who had taken of the devoted things of Jericho (see the notes at Josh. 7:1 and Josh. 7:24). With the trespass put away, the LORD speaks to Joshua again, and this time Israel goes up “with the Lord’s assurance of their victory.”
Ai, “the fortress city of Ai, near Bethel,” was a place already named when Abraham pitched his tent between Beth-el and Hai (Gen. 12:8); its name is explained at Josh. 7:2.
The last six verses move about thirty miles north, to Shechem between Mount Ebal and Mount Gerizim, where Moses had commanded an altar, the law written on stones, and the blessings and curses (Deut. 27:1–13; the place is described at Deut. 11:29). These verses are a postscript to the battle and a covenant-renewal ceremony, Moses' command carried out. Joshua will gather the people at Shechem once more near the end of his life (Josh. 24:1).
The thread through the chapter
Chapter 7 ended in defeat; chapter 8 begins with the words of chapter 1. “Fear not, neither be thou dismayed,” the LORD tells Joshua (verse 1), and then gives him everything: the city, the terms for its spoil, the plan of the ambush (verse 2), and at the decisive moment the signal (verse 18). Joshua's orders end “according to the commandment of the LORD shall ye do” (verse 8), and the spoil is taken “according unto the word of the LORD which he commanded Joshua” (verse 27). In the battle itself the LORD's part shows in His frequent revealed directions (verses 1, 18) and in Joshua's ritual gesture with the spear.
The war accounts of Israel and its neighbors share five elements: the oracle, the taking of the city, the devoting of its people, the booty, and the “founding of a cult installation.” In Joshua they “appear most clearly” at Ai. In Joshua the last of them is an altar to the LORD on Ebal, and on it the law. So the campaign that began in defeat ends with Israel hearing every word of the covenant read (verses 30–35). One older reading takes the ceremony as Israel's acknowledgment that its victories were a pledge of the rest of the land, “provided only it persevered in covenant faithfulness.”
Tap any highlighted phrase to open a note beneath its versein the margin.
The LORD sends Joshua again
The LORD said to Joshua, “Don't be afraid or discouraged. Take all the fighting men and go up to Ai. I have given you the king of Ai, his people, his city and his land. Do to Ai and its king what you did to Jericho and its king, except that this time you may keep the spoil and the livestock for yourselves. Set an ambush behind the city.”
1 And the LORD said unto Joshua, Fear not, neither be thou dismayed: take all the people of war with thee, and arise, go up to Ai: see, I have given into thy hand the king of Ai, and his people, and his city, and his land:
2 And thou shalt do to Ai and her king as thou didst unto Jericho and her king: only the spoil thereof, and the cattle thereof, shall ye take for a prey unto yourselves: lay thee an ambush for the city behind it.
The ambush is set
Joshua and the army set out. He chose thirty thousand of his best men and sent them off by night with orders: “Hide behind the city, not far from it, and be ready. I and the rest of the people will come up to the city. When they come out against us as they did the first time, we will run from them, and they will chase us, saying, ‘They are running from us as before.’ Then you rise from hiding and take the city, for the LORD your God will give it to you. When you have taken it, set it on fire. Do as the LORD has commanded. These are my orders.” They went and hid between Beth-el and Ai, west of Ai, and Joshua spent the night with the people. Early the next morning he mustered the army and went up with the elders of Israel at its head. They camped north of Ai with a valley between them and the city. He set about five thousand men in ambush between Beth-el and Ai, west of the city, and that night Joshua went down into the valley.
3 So Joshua arose, and all the people of war, to go up against Ai: and Joshua chose out thirty thousand mighty men of valour, and sent them away by night.
4 And he commanded them, saying, Behold, ye shall lie in wait against the city, even behind the city: go not very far from the city, but be ye all ready:
5 And I, and all the people that are with me, will approach unto the city: and it shall come to pass, when they come out against us, as at the first, that we will flee before them,
6 (For they will come out after us) till we have drawn them from the city; for they will say, They flee before us, as at the first: therefore we will flee before them.
7 Then ye shall rise up from the ambush, and seize upon the city: for the LORD your God will deliver it into your hand.
8 And it shall be, when ye have taken the city, that ye shall set the city on fire: according to the commandment of the LORD shall ye do. See, I have commanded you.
9 Joshua therefore sent them forth: and they went to lie in ambush, and abode between Beth-el and Ai, on the west side of Ai: but Joshua lodged that night among the people.
10 And Joshua rose up early in the morning, and numbered the people, and went up, he and the elders of Israel, before the people to Ai.
11 And all the people, even the people of war that were with him, went up, and drew nigh, and came before the city, and pitched on the north side of Ai: now there was a valley between them and Ai.
12 And he took about five thousand men, and set them to lie in ambush between Beth-el and Ai, on the west side of the city.
13 And when they had set the people, even all the host that was on the north of the city, and their liers in wait on the west of the city, Joshua went that night into the midst of the valley.
The city is taken
When the king of Ai saw them, he and all his men hurried out early to fight Israel at the appointed time, facing the plain, not knowing there was an ambush behind the city. Joshua and Israel pretended to be beaten and fled toward the wilderness. All the men of Ai were called out to chase them, and they were drawn away from the city; not a man was left in Ai or Beth-el, and they left the city open. Then the LORD said to Joshua, “Stretch out the spear in your hand toward Ai, for I will give it to you,” and Joshua did. As soon as he stretched out his hand, the ambush rose, ran into the city, took it, and set it on fire. The men of Ai looked back and saw the smoke of their city going up to the sky, and they had nowhere to run, for the Israelites who had fled turned on them. When Joshua and Israel saw the smoke, they turned and struck down the men of Ai, and the men from the ambush came out of the city against them, so that Ai's army was caught between them and none escaped. The king of Ai was taken alive and brought to Joshua.
14 And it came to pass, when the king of Ai saw it, that they hasted and rose up early, and the men of the city went out against Israel to battle, he and all his people, at a time appointed, before the plain; but he wist not that there were liers in ambush against him behind the city.
15 And Joshua and all Israel made as if they were beaten before them, and fled by the way of the wilderness.
16 And all the people that were in Ai were called together to pursue after them: and they pursued after Joshua, and were drawn away from the city.
17 And there was not a man left in Ai or Beth-el, that went not out after Israel: and they left the city open, and pursued after Israel.
18 And the LORD said unto Joshua, Stretch out the spear that is in thy hand toward Ai; for I will give it into thine hand. And Joshua stretched out the spear that he had in his hand toward the city.
19 And the ambush arose quickly out of their place, and they ran as soon as he had stretched out his hand: and they entered into the city, and took it, and hasted and set the city on fire.
20 And when the men of Ai looked behind them, they saw, and, behold, the smoke of the city ascended up to heaven, and they had no power to flee this way or that way: and the people that fled to the wilderness turned back upon the pursuers.
21 And when Joshua and all Israel saw that the ambush had taken the city, and that the smoke of the city ascended, then they turned again, and slew the men of Ai.
22 And the other issued out of the city against them; so they were in the midst of Israel, some on this side, and some on that side: and they smote them, so that they let none of them remain or escape.
23 And the king of Ai they took alive, and brought him to Joshua.
Ai is destroyed
When Israel had finished killing the people of Ai in the open country where they had chased them, they went back and struck the city. All who fell that day, men and women, numbered twelve thousand, the whole population of Ai, for Joshua did not lower the hand that held out the spear until they were all destroyed. Israel kept only the livestock and the spoil, as the LORD had told Joshua. Joshua burned Ai and made it a ruin mound forever, desolate to this day. He hanged the king of Ai on a tree until evening; at sunset he had the body taken down and thrown at the city gate, and a great pile of stones was raised over it, which is still there.
24 And it came to pass, when Israel had made an end of slaying all the inhabitants of Ai in the field, in the wilderness wherein they chased them, and when they were all fallen on the edge of the sword, until they were consumed, that all the Israelites returned unto Ai, and smote it with the edge of the sword.
25 And so it was, that all that fell that day, both of men and women, were twelve thousand, even all the men of Ai.
26 For Joshua drew not his hand back, wherewith he stretched out the spear, until he had utterly destroyed all the inhabitants of Ai.
27 Only the cattle and the spoil of that city Israel took for a prey unto themselves, according unto the word of the LORD which he commanded Joshua.
28 And Joshua burnt Ai, and made it an heap for ever, even a desolation unto this day.
29 And the king of Ai he hanged on a tree until eventide: and as soon as the sun was down, Joshua commanded that they should take his carcase down from the tree, and cast it at the entering of the gate of the city, and raise thereon a great heap of stones, that remaineth unto this day.
The law on Mount Ebal
Then Joshua built an altar to the LORD God of Israel on Mount Ebal, as Moses the servant of the LORD had commanded and as the book of the law of Moses describes: an altar of uncut stones that no iron tool had touched. On it they offered burnt offerings and peace offerings to the LORD. There, while Israel watched, Joshua wrote on the stones a copy of the law of Moses. All Israel, with their elders, officers and judges, foreigners and native-born alike, stood on either side of the ark, facing the Levitical priests who carried it, half of them in front of Mount Gerizim and half in front of Mount Ebal, as Moses had commanded for the blessing of Israel. Then Joshua read all the words of the law, the blessings and the curses, just as they are written in the book of the law. There was not a word Moses had commanded that Joshua did not read to the whole assembly of Israel, with the women, the children, and the foreigners living among them.
30 Then Joshua built an altar unto the LORD God of Israel in mount Ebal,
31 As Moses the servant of the LORD commanded the children of Israel, as it is written in the book of the law of Moses, an altar of whole stones, over which no man hath lift up any iron: and they offered thereon burnt offerings unto the LORD, and sacrificed peace offerings.
32 And he wrote there upon the stones a copy of the law of Moses, which he wrote in the presence of the children of Israel.
33 And all Israel, and their elders, and officers, and their judges, stood on this side the ark and on that side before the priests the Levites, which bare the ark of the covenant of the LORD, as well the stranger, as he that was born among them; half of them over against mount Gerizim, and half of them over against mount Ebal; as Moses the servant of the LORD had commanded before, that they should bless the people of Israel.
34 And afterward he read all the words of the law, the blessings and cursings, according to all that is written in the book of the law.
35 There was not a word of all that Moses commanded, which Joshua read not before all the congregation of Israel, with the women, and the little ones, and the strangers that were conversant among them.
Seeing Christ in Joshua 8
The LORD who gives Ai into Joshua's hand is Jehovah, the premortal Christ (see the note at Ex. 3:14). Once the sin at Jericho was put away and He “turned from the fierceness of his anger” (Josh. 7:26), He did not begin again with Israel; He spoke the words He had spoken at the start, “Fear not, neither be thou dismayed,” and the people who had broken the covenant stood before His altar and heard it read again. Such renewals typically come “following periods of apostasy, or at times of crisis or transition.”
The restored covenant has “its periodic renewal through the sacrament,” whose prayers are given in D&C 20:77–79. For a disciple Joshua 7 and 8 give the pattern: once sin is put away, the covenant is renewed rather than begun over.
Worth exploring next
- Josh. 7: the defeat and its cause, which chapter 8 reverses.
- Deut. 27:1–26 and Josh. 24:1–28: the ceremony at Ebal as Moses commanded it, and Joshua's last covenant at Shechem.
- Ex. 17:8–13: Moses' raised hand against Amalek, beside Joshua's spear.
Sources & further reading
- The Holy Scriptures (Latter-day Saint editions), text and chapter headings, The Church of Jesus Christ of Latter-day Saints.
- Stephen O. Smoot, Joshua 8, In Old Testament Minute: Joshua, ed. Taylor Halverson. Old Testament Minute 6 (Springville, UT: Book of Mormon Central, 2022); on Scripture Central’s archive.
- Stephen O. Smoot, Joshua 7, In Old Testament Minute: Joshua, ed. Taylor Halverson. Old Testament Minute 6 (Springville, UT: Book of Mormon Central, 2022); on Scripture Central’s archive.
- Edward J. Brandt, “The Conquest of Canaan”, Ensign, Oct. 1973, 46.
- Carl Friedrich Keil and Franz Delitzsch, Biblical Commentary on the Old Testament: Joshua, In Keil and Delitzsch, Biblical Commentary on the Old Testament, online at Bible Hub.
- David Rolph Seely, “The Restoration as Covenant Renewal”, In Sperry Symposium Classics: The Old Testament, ed. Paul Y. Hoskisson (Provo and Salt Lake City: Religious Studies Center, Brigham Young University, and Deseret Book, 2005), 311–336.
- David M. Calabro, ““Thou Shalt Utterly Destroy”: Understanding the Biblical Ḥērem”, In From Wilderness to Monarchy: The Old Testament through the Lens of the Restoration, ed. Daniel L. Belnap and Aaron P. Schade (Provo, UT: Religious Studies Center, Brigham Young University, 2025), 23–64.
- The Book of Joshua, Cambridge Bible for Schools and Colleges; read on Bible Hub.
- Donald W. Parry, “Symbolic Action as Prophecy in the Old Testament”, In Sperry Symposium Classics: The Old Testament, ed. Paul Y. Hoskisson (Provo and Salt Lake City: Religious Studies Center, Brigham Young University, and Deseret Book, 2005), 337–355.
- Daniel L. Belnap, ““They Did Fell the Tree”: The Hanging of Zemnarihah as a Ritual Resolution for Nephite Trauma”, In They Shall Grow Together: The Bible in the Book of Mormon, ed. Charles Swift and Nicholas J. Frederick (Provo, UT: Religious Studies Center, Brigham Young University; Salt Lake City: Deseret Book), 143–78.
- Joshua 1–8; 23–24, Scripture Helps: Old Testament (2025).