Sherman was defending America. What is the problem killing traitors while defending the nation?
The North was not defending America. It was however fighting for human rights.
The South was defending Constitutional Republicanism.
Both noble causes.