and slavery had NOTHING to do with the ideological foundation of GOVERNMENT of the Confederacy
I have to disagree with you there since the Confederate Constitution contains the following No bill of attainder, ex post facto law, or law denying or impairing the right of property in negro slaves shall be passed.
The fact that slavery played an economic and cultural role in the South did not mean that it was otherwise a foundational part of the political ideology of the Confederacy. If slavery were removed from the Confederacy, it’s political philosophy would not have been effected. The GOVERNMENT would not have changed — though the social and economic dynamics would have been quite different.
I still disagree with you. Slavery (specifically the preservation of slavery) was an inherent political component of the Confederacy. The Confederacy was made up of slaveholding states and only slaveholding states, not one free state or territory. Slavery was specifically mentioned in the Confederate Constitution not just as an afterthought but with a specific passage that made negro slavery legal in the Confederacy forever. If you read the Confederate Constitution you will see that.
I am not a Confederacy hater. I believe the Confederacy had many noble aspects however I also am not an Confederacy apologist.