The Confederate Army, as did many of those I mentioned, lost the war to the United States Army.
Around a million people, if you include civilians, died as a result of the War Between the States.
Of the military deaths, two thirds of them were Yankees.