Gettysburg was just flat out awful.
I actually wasn't familiar with the Gettysburg casualty numbers so I looked it up. Sustaining more losses than the Union while outnumbered by about 3:2 is terrible, yes, although it looks like the Seen Days Battles were about as bad only with somewhat fewer losses on both sides.
I mean yes its true that Lee did win the 7 day battles with a pretty hard task but in the long run it was just bad for the Confederacy. Even when Lee went on the offensive his goals were to capture/raid some northern cities. The clear goal of the Civil war was to capture an army which Lee failed to do in any meaningful amount.
https://en.wikipedia.org/wiki/Battle_of_Chickamaugahttps://en.wikipedia.org/wiki/Chattanooga_campaignIn this case Bragg suffered more casualties in his "victory" and then tried to besiege a city but the Union managed to send reinforcements.