They were wont, etc
Deuteronomy 20:10
When thou comest nigh unto a city to fight against it, then proclaim peace unto it.
Deuteronomy 20:11
And it shall be, if it make thee answer of peace, and open unto thee, then it shall be, that all the people that is found therein shall be tributaries unto thee, and they shall serve thee.