“If you go out to battle against your enemies and see horses and chariots and people more numerous than you, do not be afraid of them; for Yahweh your God, who brought you up from the land of Egypt, is with you.
And he shall say to them, ‘Hear, O Israel, you are drawing near to the battle against your enemies today. Do not let your heart be faint. Do not be afraid, nor be alarmed, nor be in dread before them,
The officers also shall speak to the people, saying, ‘Who is the man that has built a new house and has not dedicated it? Let him go and return to his house, lest he die in the battle and another man dedicate it.
Who is the man that has planted a vineyard and has not begun to use its fruit? Let him go and return to his house, lest he die in the battle and another man begin to use its fruit.
And who is the man that is engaged to a woman and has not married her? Let him go and return to his house, lest he die in the battle and another man marry her.’
Then the officers shall speak further to the people and say, ‘Who is the man that is afraid and whose heart is faint? Let him go and return to his house, so that he might not make his brothers’ hearts melt like his heart.’
Now it will be that if it agrees to make peace with you and opens to you, then all the people who are found in it shall become your forced labor and shall serve you.
Only the women and the little ones and the animals and all that is in the city, all its spoil, you shall plunder for yourself; and you shall consume the spoil of your enemies which Yahweh your God has given you.
But you shall devote them to destruction, the Hittite and the Amorite, the Canaanite and the Perizzite, the Hivite and the Jebusite, as Yahweh your God has commanded you,
so that they may not teach you to do according to all their abominations which they have done for their gods, so that you would sin against Yahweh your God.
“If you besiege a city for many days, to make war against it in order to capture it, you shall not destroy its trees by swinging an axe against them; for you may eat from them, and you shall not cut them down. For is the tree of the field a man, that it should be besieged by you?
Only the trees which you know are not trees for food you shall destroy and cut down, that you may build siegeworks against the city that is making war with you until it falls.