Yes they did but the victory by the north seems to be Pyrrhic nowadays. The South is now the land of liberty and freedom whereas the north, particularly the northeast is where slavery under the lash of union thugs is the norm.
The states of the Confederacy, except for Florida, also repudiated tyranny as shown by the 2012 election map.
And even a half-century ago, it was the "Solid South" leading the vanguard for the Conservative resurgence, standing bravely for Barry Goldwater against leftism:
So, from my perspective, the Confederate flag is a symbol of regional pride. More than that, it represents resistance to tyranny. It's noteworthy that commies also hate the flag of Virginia.
The Republican party, the party of Lincoln, now dominates in the South.
The Confederate democrat party has lost it.
The Confederate flag represents the states rights to enslave others. That’s not resistance to tyranny its an embracement of it.
The US Constitution and the US flag should be a source for regional pride as it embraces the liberty for all the Confederate flag does not.