Deuteronomy 20:12

12 If however it will not make peace with you, but war, then let it be shut in on all sides: