Well, the South certainly didn’t go to war to free the slaves. They sure seemed bound and determined to preserve slavery. Their constitution made that clear.
Neither did the North. They went to war to get back that pile of money sitting on New York.