Laws of Warfare
1“When 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 the LORD your God, who brought you up from the land of Egypt, is with you. 2“Now it shall come about that when you are approaching the battle, the priest shall come near and speak to the people. 3“And he shall say to them, ‘Hear, O Israel, you are approaching the battle against your enemies today. Do not be fainthearted. Do not be afraid, or panic, or tremble before them, 4for the LORD your God is the one who goes with you, to fight for you against your enemies, to save you.’ 5“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 depart and return to his house, lest he die in the battle and another man dedicate it. 6‘And who is the man that has planted a vineyard and has not begun to use its fruit? Let him depart and return to his house, lest he die in the battle and another man begin to use its fruit. 7‘And who is the man that is engaged to a woman and has not married her? Let him depart and return to his house, lest he die in the battle and another man marry her.’ 8“Then the officers shall speak further to the people, and they shall say, ‘Who is the man that is afraid and fainthearted? Let him depart and return to his house, so that he might not make his brothers’ hearts melt like his heart.’ 9“And it shall come about that when the officers have finished speaking to the people, they shall appoint commanders of armies at the head of the people.
10“When you approach a city to fight against it, you shall offer it terms of peace. 11“And it shall come about, if it agrees to make peace with you and opens to you, then it shall be that all the people who are found in it shall become your forced labor and shall serve you. 12“However, if it does not make peace with you, but makes war against you, then you shall besiege it. 13“When the LORD your God gives it into your hand, you shall strike all the men in it with the edge of the sword. 14“Only the women and the children and the animals and all that is in the city, all its spoil, you shall take as booty for yourself; and you shall use the spoil of your enemies which the LORD your God has given you. 15“Thus you shall do to all the cities that are very far from you, which are not of the cities of these nations nearby. 16“Only in the cities of these peoples that the LORD your God is giving you as an inheritance, you shall not leave alive anything that breathes. 17“But you shall utterly destroy them, the Hittite and the Amorite, the Canaanite and the Perizzite, the Hivite and the Jebusite, as the LORD your God has commanded you, 18in order that they may not teach you to do according to all their detestable things which they have done for their gods, so that you would sin against the LORD your God.
19“When you besiege a city a long time, 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? 20“Only the trees which you know are not fruit trees you shall destroy and cut down, that you may construct siegeworks against the city that is making war with you until it falls.