They may not have, but the articles of secession for every single state talked about slavery, so to say that slavery wasn't the major reason is disingenuous.  Your defense of them is like saying that the Germans were just defending their homes from the American, British and Soviet invaders.  Yes, technically accurate, but misses most of the story.