Deuteronomy 20:15

AKJV(i) 15 Thus shall you do to all the cities which are very far off from you, which are not of the cities of these nations.