Deuteronomy 20:12
20:12 If it does not accept terms of peace but makes war with you, then you are to lay siege to it.
Deuteronomy 29:7
29:7 When you came to this place King Sihon of Heshbon and King Og of Bashan came out to make war and we defeated them.