It didn’t need to go to war to preserve that. It already had that and Lincoln promised that he wouldn’t touch that issue, and even said he supported a bill that would make it illegal for the Fed gov to ever touch that issue. Why would they go to war to protect something that didn’t need protecting?
Read The Constitution of The Confederacy have you?