The Civil War was won by Grant, who incurred casualties as necessary so long as he inflicted equivalent casualties on the Confederates.
Contrast that with McClellan and others who were reluctant to incur casualties and were ineffective.
The objective of generals is to win battles and wars, not to ensure that everyone comes home.