Sure seems to me the South was defending slavery. You have to take them at their word.
1.7% of the population owned slaves. So yeah, of course the other 98.3% of the population which did not, were fighting to protect the interests of that 1.7%.
It's not like they would have any other reason for trying to kill people that invade their state with an army.