Thus shalt thou do to all the cities which are very distant from thee, which are not of the cities of these nations.
Deuteronomy 20
Deuteronomy 20:8-18