Deuteronomy.
Chapter 20.
“When you go out to battle against your enemies, and you see horses, chariots, and many more people than you have, you must not be afraid of them. The LORD your God is with you—and he brought you out of Egypt. 
“When you go to the battle, the priest must go to the soldiers and speak to them. 
The priest will say, ‘Men of Israel, listen to me! Today you are going against your enemies in battle. Don’t lose your courage. Don’t be troubled or upset. Don’t be afraid of the enemy. 
The LORD your God is going with you to help you fight against your enemies. He will help you win!’ 
“The Levite officials will say to the soldiers, ‘Is there any man here who has built a new house but has not yet dedicated it? That man should go back home. He might be killed in the battle, and then another person will dedicate that man’s house. 
Is there any man here who has planted a vineyard but has not yet gathered any of the grapes? That man should go back home. If that man dies in the battle, someone else will enjoy the fruit from his field. 
Is there any man here who is engaged to be married? That man should go back home. If he dies in the battle, another man will marry the woman he is engaged to.’ 
“These Levite officials must also say to the people, ‘Is there any man here who has lost his courage and is afraid? He should go back home. Then he will not cause the other soldiers to lose their courage too.’ 
Then, after the officers have finished speaking to the army, they must choose captains to lead the soldiers. 
“When you go to attack a city, you must first offer peace to the people there. 
If they accept your offer and open their gates, all the people in that city will become your slaves and be forced to work for you. 
But if the city refuses to make peace with you and fights against you, you should surround the city. 
And when the LORD your God lets you take the city, you must kill all the men in it. 
But you may take for yourselves the women, the children, the cattle, and everything else in the city. You may use all these things. The LORD your God has given these things to you. 
That is what you must do to all the cities that are very far from you—the cities that are not in the land where you will live. 
“But when you take cities in the land that the LORD your God is giving you, you must kill everyone. 
You must completely destroy all the people—the Hittites, Amorites, Canaanites, Perizzites, Hivites, and Jebusites. The LORD your God has commanded you to do this. 
So then they will not be able to teach you to sin against the LORD your God or to do any of the terrible things they do when they worship their gods. 
“When you are making war against a city, you might surround that city for a long time. You must not cut down the fruit trees around that city. You may eat the fruit from these trees, but you must not cut them down. These trees are not the enemy, so don’t make war against them. 
But you may cut down the trees that you know are not fruit trees. You may use these trees to build weapons for making war against that city. You may use them until the city falls. 
