Sorry Heimel, you can't revise history to suit your bias.
The Confederacy was founded on the tenets of white supremacy,
Alexander Stevens, vice president of the Confederacy is quoted in documents:
" Our new government's foundations are laid, it's cornerstone rests, upon the great truth that the Negro is not equal to the white man, that slavery - subordination to the superior race - is his natural and normal condition."
Throughout the war, the protection of slavery had been and remained the central core of the Confederate purpose.