I think the question you pose have been has troubled individuals since the war began and continues up to this day. There is no easy answer-there may be no definitive answer at all. Lincoln, in his Second Inaugural speech concluded that the war "came" ultimately as a divine judgment. At the same time, he felt very responsible as Commander in Chief for the deaths of soldiers sent into harms way under his Administration.