New International Version
Going to War
20 When you go to war against your enemies and see horses and chariots and an army greater than yours,(A) do not be afraid(B) of them,(C) because the Lord your God, who brought you up out of Egypt, will be with(D) you. 2 When you are about to go into battle, the priest shall come forward and address the army. 3 He shall say: “Hear, Israel: Today you are going into battle against your enemies. Do not be fainthearted(E) or afraid; do not panic or be terrified by them. 4 For the Lord your God is the one who goes with you(F) to fight(G) for you against your enemies to give you victory.(H)”
5 The officers shall say to the army: “Has anyone built a new house and not yet begun to live in(I) it? Let him go home, or he may die in battle and someone else may begin to live in it. 6 Has anyone planted(J) a vineyard and not begun to enjoy it?(K) Let him go home, or he may die in battle and someone else enjoy it. 7 Has anyone become pledged to a woman and not married her? Let him go home, or he may die in battle and someone else marry her.(L)” 8 Then the officers shall add, “Is anyone afraid or fainthearted? Let him go home so that his fellow soldiers will not become disheartened too.”(M) 9 When the officers have finished speaking to the army, they shall appoint commanders over it.
10 When you march up to attack a city, make its people an offer of peace.(N) 11 If they accept and open their gates, all the people in it shall be subject(O) to forced labor(P) and shall work for you. 12 If they refuse to make peace and they engage you in battle, lay siege to that city. 13 When the Lord your God delivers it into your hand, put to the sword all the men in it.(Q) 14 As for the women, the children, the livestock(R) and everything else in the city,(S) you may take these as plunder(T) for yourselves. And you may use the plunder the Lord your God gives you from your enemies. 15 This is how you are to treat all the cities that are at a distance(U) from you and do not belong to the nations nearby.
16 However, in the cities of the nations the Lord your God is giving you as an inheritance, do not leave alive anything that breathes.(V) 17 Completely destroy[a] them—the Hittites, Amorites, Canaanites, Perizzites, Hivites and Jebusites—as the Lord your God has commanded you. 18 Otherwise, they will teach you to follow all the detestable things they do in worshiping their gods,(W) and you will sin(X) against the Lord your God.
19 When you lay siege to a city for a long time, fighting against it to capture it, do not destroy its trees by putting an ax to them, because you can eat their fruit. Do not cut them down. Are the trees people, that you should besiege them?[b] 20 However, you may cut down trees that you know are not fruit trees(Y) and use them to build siege works until the city at war with you falls.