10When you approach a city to fight against it, offer it peace terms.
11If it accepts your offer of peace and opens its gates to you, then all the people found in it shall serve you and work for you.
12But if it does not make peace with you and wages war against you, then you shall besiege it.
13When the LORD your God delivers it into your hands, strike down every male there with the sword.
14However, you may take the women, children, livestock, and everything else in the city as your spoils. You may enjoy the plunder from your enemies that the LORD your God has given you.
15This is what you shall do to all the cities that are very far from you, which are not part of the cities of these nations.
16But in the cities of these peoples that the LORD your God is giving you as an inheritance, do not leave alive anything that breathes.
17Completely destroy them—the Hittites, Amorites, Canaanites, Perizzites, Hivites, and Jebusites—as the LORD your God has commanded you.
18This is so they do not teach you to follow all the detestable practices they have done for their gods, causing you to sin against the LORD your God.