Deuteronomy 20
2And it shall be, when ye approach unto the battle, that the priest shall draw near and speak unto the people,
3and shall say unto them, Hear, Israel, ye are approaching this day unto battle against your enemies: let not your hearts faint, fear not, and do not tremble, neither be afraid of them;
4for Jehovah your God is he that goeth with you, to fight for you against your enemies, to save you.
5And the officers shall speak unto the people, saying, What man is there that hath built a new house, and hath not dedicated it? let him go and return unto his house, lest he die in the battle, and another man dedicate it.
6And what man is there that hath planted a vineyard, and hath not eaten of it? let him go and return unto his house, lest he die in the battle, and another man eat of it.
7And what man is there that hath betrothed a wife, and hath not taken her? let him go and return unto his house, lest he die in the battle, and another man take her.
9And it shall be, when the officers have ended speaking unto the people, that they shall place captains of the hosts at the head of the people.
10When thou approachest unto a city to fight against it, thou shalt proclaim peace unto it.
11And it shall be, if it make thee answer of peace, and open unto thee, then all the people that are found therein shall be tributaries unto thee, and they shall serve thee.
12And if it will not make peace with thee, but will make war with thee, then thou shalt besiege it;
15Thus shalt thou do unto all the cities that are very far off from thee, which are not of the cities of these nations.
16But of the cities of these peoples which Jehovah thy God giveth thee for an inheritance, thou shalt save alive nothing that breatheth,
17but shalt utterly devote them to destruction, the Hittites and the Amorites, the Canaanites and the Perizzites, the Hivites and the Jebusites, as Jehovah thy God hath commanded thee;
18that they teach you not to do according to all their abominations, which they have done unto their gods, so that ye sin against Jehovah your God.
20Only the trees which thou knowest are not trees for meat, thou mayest destroy and cut them down, and build bulwarks against the city that maketh war with thee, until it fall.