Deuteronomy 20:12-20

12 But if they will not hearken to thee, but wage war against thee, thou shalt invest it;
13 until the Lord thy God shall deliver it into thy hands, and thou shalt smite every male of it with the edge of the sword:
14 except the women and the stuff: and all the cattle, and whatsoever shall be in the city, and all the plunder thou shalt take as spoil for thyself, and shalt eat all the plunder of thine enemies whom the Lord thy God gives thee.
15 Thus shalt thou do to all the cities that are very far off from thee, not of the cities of these nations which the Lord thy God gives thee to inherit their land.
16 ye shall not take any thing alive;
17 but ye shall surely curse them, the Chettite, and the Amorite, and the Chananite, and the Pherezite, and the Evite, and the Jebusite, and the Gergesite; as the Lord thy God commanded thee:
18 that they may not teach you to do all their abominations, which they did to their gods, and ye should sin before the Lord your God.
19 And if thou shouldest besiege a city many days to prevail against it by war to take it, thou shalt not destroy its trees, by applying an iron tool to them, but thou shalt eat of it, and shalt not cut it down: Is the tree that is in the field a man, to enter before thee into the work of the siege?
20 But the tree which thou knowest to be not fruit-bearing, this thou shalt destroy and cut down; and thou shalt construct a mound against the city, which makes war against thee, until it be delivered up.

Deuteronomy 20:12-20 Meaning and Commentary

INTRODUCTION TO DEUTERONOMY 20

In this chapter rules are given to be observed in times of war. When a battle was near, a priest was to address the soldiers, and encourage them to fight, De 20:1-4, then the officers were to declare who might return home, De 20:5-9 when an enemy's city was approached, peace was to be proclaimed on certain conditions, which, if accepted of, the inhabitants were to be tributaries and servants, but if not, when taken, all were to be put to the sword, excepting women, children, and cattle, De 20:10-15, but those of the seven nations were to be utterly destroyed, De 20:16-18, and, during a siege, no trees bearing fruit fit for food were to be cut down, De 20:19.

Footnotes 3

The Brenton translation of the Septuagint is in the public domain.