They didn't die for that reason. They died to secure the power of corrupt Washington DC to control the economic power of all the states, even against their will.
They died for tyranny, not for freedom.
Hard to believe you haven't been challenged yet. I think I am more inclined to believe your viewpoint even tho my Great Grandfather who survived the Civil war as a Union Officer would probably be disappointed in me.