Catholic Commentary
Total Destruction of Ai and Execution of Its King
24When Israel had finished killing all the inhabitants of Ai in the field, in the wilderness in which they pursued them, and they had all fallen by the edge of the sword until they were consumed, all Israel returned to Ai and struck it with the edge of the sword.25All that fell that day, both of men and women, were twelve thousand, even all the people of Ai.26For Joshua didn’t draw back his hand, with which he stretched out the javelin, until he had utterly destroyed all the inhabitants of Ai.27Israel took for themselves only the livestock and the goods of that city, according to Yahweh’s word which he commanded Joshua.28So Joshua burned Ai and made it a heap forever, even a desolation, to this day.29He hanged the king of Ai on a tree until the evening. At sundown, Joshua commanded, and they took his body down from the tree and threw it at the entrance of the gate of the city, and raised a great heap of stones on it that remains to this day.
Joshua's outstretched javelin holds steady until every last soul in Ai falls—a portrait of uncompromising spiritual warfare where God permits no half-measures and no refuge remains.
After the successful ambush of Ai, Joshua and Israel complete the city's total destruction — killing all twelve thousand of its inhabitants, burning the city to permanent ruin, and executing its king by hanging before burying him under a cairn of stones. The passage portrays the fulfillment of the ḥērem (sacred ban) commanded by God, in which Ai is consecrated to divine judgment while Israel is permitted to take its livestock and goods. The scene closes with two enduring memorials — the ruined city and the king's stone-covered grave — testifying to both divine justice and the solemn completion of God's command.
Verse 24 — The completion of the slaughter in the field and in the city. The two-stage destruction of Ai — first in the open wilderness during the pursuit, then inside the city itself — mirrors the twofold trap laid in the previous verses (8:1–23). The phrase "until they were consumed" (Hebrew ad tāmmām) echoes the language of utter completion used throughout the Conquest narratives. The inhabitants of Ai had no refuge: neither the open field nor the walled city offered safety. "All Israel returned to Ai" signals a corporate, unified act — this is not private vengeance but a national, covenantal execution of judgment.
Verse 25 — Twelve thousand dead, men and women alike. The number twelve thousand — the entire population of Ai — underscores the totality of the ḥērem. In ancient Near Eastern warfare, women were often spared for slavery; their inclusion here signals that this is no ordinary military engagement but a sacred annihilation. The repetition of "all the people of Ai" deliberately echoes the command of God (8:1–2), showing that what God decreed was precisely what occurred.
Verse 26 — Joshua's outstretched javelin (kîdôn). This verse reaches back explicitly to 8:18, forming a literary bracket: Joshua raised the javelin at God's command, and he did not lower it until destruction was complete. The gesture is clearly theological, not merely tactical. It deliberately recalls Moses stretching out his hands at Rephidim (Exodus 17:11–12), where Israel prevailed as long as Moses' hands were raised. Joshua is here portrayed as a new Moses: his body is an instrument of divine will, and his sustained posture is an act of obedience as much as of command. The kîdôn (javelin or short sword) is the same weapon mentioned in 8:18 and may carry a symbolic resonance as the instrument of divine pointing — God directing his judgment through his appointed leader.
Verse 27 — The permitted spoil. In stark contrast to the catastrophic sin of Achan (Joshua 7), where forbidden spoil was taken secretly, here the livestock and goods are taken openly and by divine permission. The exact wording — "according to Yahweh's word which he commanded Joshua" — is a theological marker of legitimacy. God's law distinguishes what is consecrated to destruction from what may be used by his people. The cattle and plunder of Ai were not under the full ḥērem as Jericho's had been; the partial lifting of the ban here is God's covenantal provision for Israel's needs. This also implicitly vindicates the community: unlike Achan, Israel takes only what God explicitly authorizes.
Verse 28 — Ai becomes a "heap forever" (tel 'ôlām). The Hebrew — a mound of ruins — is itself a technical term for a destroyed and uninhabited site, familiar from archaeology. The phrase "to this day" () is a classic formula in Deuteronomistic literature anchoring the narrative in the lived memory of the audience. Ai's permanent desolation is both punishment and monument: it stands as a perpetual witness to what happens when a city opposes the God of Israel. The burning parallels the fate of Jericho (6:24) and anticipates other condemned cities (Deuteronomy 13:16).
Catholic tradition reads the Conquest narratives through multiple complementary lenses — literal, allegorical, moral, and anagogical — as articulated by the Catechism of the Catholic Church (§115–119, following Origen and the medieval quadriga).
The ḥērem and divine sovereignty over life and death. The Church Fathers were not naive about the violence of these texts. Origen (Homilies on Joshua, Hom. 8) reads the destruction of Ai as an allegory of the soul's battle against sin: every "inhabitant" of the city represents a passion or vice that must be utterly rooted out, not merely suppressed. As St. John Cassian would later develop in the Conferences, the spiritual warfare of the monk against interior sin is the true fulfillment of what Israel enacted literally against Canaan. Augustine (Questions on the Heptateuch, Book VI) defends the morality of God's command by arguing that God, as sovereign Lord of life, may justly dispose of it — a principle the Catechism affirms in teaching that God is "the sovereign Master of life" (CCC §2258).
Joshua's javelin as type of the Cross. The sustained gesture of Joshua's outstretched hand holding the javelin is read by Origen and later by St. Caesarius of Arles as a prefigurement of the outstretched arms of Christ on the Cross — the New Joshua (the names are identical in Hebrew: Yehoshua / Yeshua) whose extended arms accomplish the definitive destruction of sin and death. The cross is the ultimate ḥērem: Christ becomes the curse (Galatians 3:13, citing Deuteronomy 21:23) so that what was condemned might be liberated.
The king hung on a tree. Deuteronomy 21:23 declares that "he who is hanged is cursed by God," a text Paul applies directly to Christ in Galatians 3:13. The king of Ai, hanged and then buried under stones, is a type of the enemy of God's people brought low — but also, in the paradox of typology, foreshadows the One who would bear the curse not as a defeated enemy but as the innocent Savior. The removal of the body before sundown (observed by Joshua with legal exactness) is typologically fulfilled in the removal of Christ's body from the Cross before the Sabbath (John 19:31–33).
The disturbing totality of this passage forces the contemporary Catholic reader to confront two practical questions: the nature of spiritual warfare and the proper disposal of what is spiritually "banned" in one's own life.
Origen's allegorical reading is pastorally indispensable here: the "inhabitants of Ai" are the habitual sins and disordered attachments that have taken up residence in the soul. The spiritual lesson of Ai — coming just after the disaster of Achan's sin — is that partial obedience is spiritually catastrophic. The Sacrament of Confession is the Church's gift precisely for this thoroughness: not a surface-level acknowledgment of fault, but a complete self-examination and genuine metanoia. Joshua does not sheathe his javelin until the work is finished; the penitent Catholic is called to the same completeness.
The stone cairn over the king's grave also speaks to the need for permanent, visible reminders of God's judgment and mercy in our lives. The practice of keeping spiritual notes, marking anniversary dates of conversion or decisive moments of grace, or maintaining a regular examination of conscience serves the same mnemonic function — testifying "to this day" that God acts decisively in human history and in personal lives.
Verse 29 — The king's hanging, removal at sundown, and burial under stones. The king of Ai is hanged on a tree ('ēṣ), a form of post-mortem exposure attested in ancient Israelite and Near Eastern practice (cf. Numbers 25:4; Deuteronomy 21:22–23). Crucially, the Law of Moses required that the body be removed before sunset lest the land be defiled (Deuteronomy 21:23). Joshua scrupulously observes this law, signaling that Israel's holy war is governed by Torah, not mere military custom. The burial under a "great heap of stones" mirrors the fate of Achan (Joshua 7:26) and of the five Canaanite kings (Joshua 10:27), making the stone cairn a recurring symbol of judgment memorialized in the landscape of Canaan. The formula "that remains to this day" again anchors the account in communal memory.