Despite some revisionist historians who say otherwise, the Civil War was absolutely about slavery and very little else. Yes it was technically about "state's rights" but the right in question was the right to have slaves. There was nothing else that was even close in terms of a factor.