Gettysburg was the CSA defeat that sealed their fate.
Crushing rout.
The South actually lost less men at Gettysburg than the North. There are various numbers, some saying different but the best sources say so.
After the first or second year the South was outnumbered in every way, often by huge numbers such as supplies. The only thing the South had an advantage was their gunpowder was better.