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 21:7

21:7 Then they must proclaim, “Our hands have not spilled this blood, nor have we witnessed the crime.