And it shall be, when the officers have made an end of speaking unto the people, that captains of hosts shall be appointed at the head of the people.
When thou drawest nigh unto a city to fight against it, then proclaim peace unto it.
And 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.
And if it will make no peace with thee, but will make war against thee, then thou shalt besiege it.
And when HaShem thy G-d delivereth it into thy hand, thou shalt smite every male thereof with the edge of the sword;
but 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 HaShem thy G-d hath given thee.
Thus shalt thou do unto all the cities which are very far off from thee, which are not of the cities of these nations.
Howbeit of the cities of these peoples, that HaShem thy G-d giveth thee for an inheritance, thou shalt save alive nothing that breatheth,
but thou shalt utterly destroy them: the Hittite, and the Amorite, the Canaanite, and the Perizzite, the Hivite, and the Jebusite; as HaShem thy G-d hath commanded thee;
that they teach you not to do after all their abominations, which they have done unto their gods, and so ye sin against HaShem your G-d.
When thou shalt besiege a city a long time, in making war against it to take it, thou shalt not destroy the trees thereof by wielding an axe against them; for thou mayest eat of them, but thou shalt not cut them down; for is the tree of the field man, that it should be besieged of thee?
Only the trees of which thou knowest that they are not trees for food, them thou mayest destroy and cut down, that thou mayest build bulwarks against the city that maketh war with thee, until it fall.