10 “When you go to attack a city, first give its people a chance to surrender.
11 If they open the gates and surrender, they are all to become your slaves and do forced labour for you.
12 But if the people of that city will not surrender, but choose to fight, surround it with your army.
13 Then, when the Lord your God lets you capture the city, kill every man in it.
14 You may, however, take for yourselves the women, the children, the livestock, and everything else in the city. You may use everything that belongs to your enemies. The Lord has given it to you.
15 That is how you are to deal with those cities that are far away from the land you will settle in.
16 “But when you capture cities in the land that the Lord your God is giving you, kill everyone.