But if they are not willing to enter into an agreement, and they begin to act against you in warfare, then you shall besiege it.
If they receive it, and open the gates to you, then all the people who are in it shall be saved, and they shall serve you by paying tribute.
And when the Lord your God will have delivered it into your hands, you shall strike down anyone who is in it, of the male gender, with the edge of the sword,