If it does not submit to you peacefully, but makes war against you, then you shall besiege it;
If it accepts your terms of peace and surrenders to you, then all the people in it shall serve you at forced labor.
and when the Lord your God gives it into your hand, you shall put all its males to the sword.