They had early military victories.
That's far from the upper hand. To have had any sort of advantage over the U.S. the Confederacy would have to have had recognition and support from other countries. That diplomatic and military support was never given. The Confederacy was never in a position to win.