Deuteronomy 20:15
This is how you are to treat all the cities that are far away from you and do not belong to the nations nearby.
Berean Standard Bible
Thus shalt thou do unto all the cities which are very far off from thee, which are not of the cities of these nations.
Thus you shall do to all the cities which are very far off from you, which are not of the cities of these nations.