The Confederacy was built on the premises of white supremacy and eternal slavery for blacks.

Period.

No matter how much you apologists try to deny the Confederacy's explicitly stated reason for existence.