But if the city refuses to make peace with you and fights against you, then you should surround the city.
If they accept your offer and open their gates, then all the people in that city will become your slaves and be forced to work for you.
And when the Lord your God lets you take the city, you must kill all the men in it.