Laws of siege: peace first, then the sword
Deuteronomy 20:10–17 · Jewish Publication Society
10When thou drawest nigh unto a city to fight against it, then proclaim peace unto it. 11And it shall be, if it make thee answer of peace, and open unto thee, then it shall be, that all the people that are found therein shall become tributary unto thee, and shall serve thee. 12And if it will make no peace with thee, but will make war against thee, then thou shalt besiege it. 13And when the LORD thy God delivereth it into thy hand, thou shalt smite every male thereof with the edge of the sword; 14but the women, and the little ones, and the cattle, and all that is in the city, even all the spoil thereof, shalt thou take for a prey unto thyself; and thou shalt eat the spoil of thine enemies, which the LORD thy God hath given thee. 15Thus shalt thou do unto all the cities which are very far off from thee, which are not of the cities of these nations. 16Howbeit of the cities of these peoples, that the LORD thy God giveth thee for an inheritance, thou shalt save alive nothing that breatheth, 17but thou shalt utterly destroy them: the Hittite, and the Amorite, the Canaanite, and the Perizzite, the Hivite, and the Jebusite; as the LORD thy God hath commanded thee;
Jewish Publication Society, The Holy Scriptures (1917), via Sefaria. Open source ↗
Context: speaker, audience, setting
Moses addresses Israel before the conquest of Canaan. The law distinguishes distant cities, which must first be offered peace (and, if they refuse, lose their men while women and children are taken), from the cities of the seven Canaanite nations, which are to be totally destroyed (ḥerem).
How the tradition reads it
Rabbinic law reads the peace offer as applying to every war, including against the seven nations (Maimonides, Laws of Kings 6:1), and treats the ḥerem command as tied to nations that no longer exist, so it has no present application. Many Christian readers treat it as a unique, unrepeatable episode in salvation history.
What scholars say
Most historians and archaeologists doubt that a sweeping conquest like this took place. Many date Deuteronomy to the 7th century BCE, so the ḥerem laws are often read as ideology written long after the events they describe. Comparable "ban" language appears in the Moabite Mesha Stele (9th century BCE).