Deuteronomy 20:10-20

10 When you approach a city to attack it, offer its people a peaceful way to surrender.
11 If they accept it and open [their gates] to you, then all the people there will be made to do forced labor and serve you.
12 If they won't accept your offer of peace but declare war on you, set up a blockade around the city.
13 When the LORD your God hands the city over to you, kill every man in that city with your swords.
14 But take the women and children, the cattle and everything else in the city, including all its goods, as your loot. You may enjoy your enemies' goods that the LORD your God has given you.
15 This is what you must do to all the cities that are far away which don't belong to the nations nearby.
16 However, you must not spare anyone's life in the cities of these nations that the LORD your God is giving you as your property.
17 You must claim the Hittites, Amorites, Canaanites, Perizzites, Hivites, and Jebusites for the LORD and completely destroy them, as the LORD your God has commanded you.
18 Otherwise, they will teach you to do all the disgusting things they do for their gods, and you will sin against the LORD your God.
19 This is what you must do whenever you blockade a city for a long time in order to capture it in war. Don't harm any of its fruit trees with an ax. You can eat the fruit. Never cut those trees down, because the trees of the field are not people you have come to blockade.
20 You may destroy trees that you know are not fruit trees. You may cut them down and use them in your blockade until you capture the city.
GOD'S WORD® is a copyrighted work of God's Word to the Nations. Copyright © 1995 by God's Word to the Nations. All rights reserved. Used by permission.