Verses 1-9: Divine Encouragement and Military Strategy. God reassures Joshua and instructs him to take the people of war to Ai, promising victory and outlining a plan involving an ambush.
Verses 10-22: Execution of the Ambush and Victory. Joshua organizes the troops, lures the men of Ai out of the city, and the ambush captures and burns Ai, resulting in a decisive Israelite victory.
Verses 23-29: Aftermath of the Battle. The king of Ai is captured and executed; the city is destroyed and made a permanent desolation as a testimony.
Verses 30-35: Covenant Renewal on Mount Ebal. Joshua builds an altar, offers sacrifices, writes the Law on stones, and publicly reads all the words of the Law, including blessings and cursings, reaffirming Israel’s commitment to God.