The common answer is to end slavery and to preserve the union. But was it really?
Yes, it was about slavery.
Efforts to argue otherwise are, not to sugarcoat it, neo-Confederate propaganda.