When thou comest nigh to a city to fight against it, then proclaim peace to it.
Deuteronomy 20
Deuteronomy 20:9-15