Read your articles of secession.
Try to comprehend. That is not what he said, he was talking about the CS Constitution.
The various ordinances of secession of the Confederate States--along with the declaration of principles passed by the South Carolina legislature at the time of secession make it painfully clear that slavery was the paramount issue.
This is not Yankee pettifogging-- these documents are signed confessions!