You're citing the Preamble that also talks about an Almighty God?
That is not a prohibition against secession by any state from the Confederacy, in any way, shape or form and presenting it as some kind of historical fact is very, very misleading.
The full thing reads:
We, the people of the...