However, if it does not make peace with you but wages war against you, lay siege to it.
If it accepts your offer of peace and opens its gates to you, all the people found in it will become forced labourers for you and serve you.
When the Lord your God hands it over to you, strike down all its males with the sword.