"When you go out to war against your enemies, and see 1horses and chariots and an army larger than your own, you shall not be afraid of them, for the LORD your God is 2with you, who brought you up out of the land of Egypt.
And when you draw near to the battle, 3the priest shall come forward and speak to the people
and shall say to them, 'Hear, O Israel, today you are drawing near for battle against your enemies: let not your heart faint. Do not fear or panic or be in dread of them,
for the LORD your God is he who goes with you 4to fight for you against your enemies, to give you the victory.'
Then the officers shall speak to the people, saying, 'Is there any man who has built a new house and has not dedicated it? Let him go back to his house, lest he die in the battle and another man dedicate it.
And is there any man who has planted a vineyard and has not 5enjoyed its fruit? Let him go back to his house, lest he die in the battle and another man enjoy its fruit.
6And is there any man who has betrothed a wife and has not taken her? Let him go back to his house, lest he die in the battle and another man take her.'
And the officers shall speak further to the people, and say, 7'Is there any man who is fearful and fainthearted? Let him go back to his house, lest he make the heart of his fellows melt like his own.'
And when the officers have finished speaking to the people, then commanders shall be appointed at the head of the people.
"When you draw near to a city to fight against it, 8offer terms of peace to it.
And if it responds to you peaceably and it opens to you, then all the people who are found in it shall do forced labor for you and shall serve you.
But if it makes no peace with you, but makes war against you, then you shall besiege it.
And when the LORD your God gives it into your hand, 9you shall put all its males to the sword,
10but the women and the little ones, the livestock, and everything else in the city, all its spoil, you 11shall take as plunder for yourselves. And 12you shall enjoy the spoil of your enemies, which the LORD your God has given you.
Thus you shall do to all the cities that are very far from you, which are not cities of the nations here.
But 13in the cities of these peoples that the LORD your God is giving you for an inheritance, you shall save alive nothing that breathes,
but 14you shall devote them to complete destruction, the Hittites and the Amorites, the Canaanites and the Perizzites, the Hivites and the Jebusites, as the LORD your God has commanded,
that 15they may not teach you to do according to all their abominable practices that they have done for their gods, and so you 16sin against the LORD your God.
"When you besiege a city for a long time, making war against it in order to take it, 17you shall not destroy its trees by wielding an axe against them. You may eat from them, but you shall not cut them down. Are the trees in the field human, that they should be besieged by you?
Only the trees that you know are not trees for food you may destroy and cut down, that you may build siegeworks against the city that makes war with you, until it falls.