Deuteronomy 20:10

10 When you come to a town, before attacking it, make an offer of peace.