Most people don't even realize that most of the Confederate soldiers had a much bigger reason to detest slavery than the Union soldiers. Condederates saw slavery as taking jobs away from them so, therefore, most were not even fighting for slavery. After all, the biggest mass lynching of blacks in the USA was committed not in the South by Confederates but by Union men in New York City in 1863. Also, the reason why the war lasted as long as it did was because the Confederates (who really had no chamce of ever winning due to logistics and supplies issues) were much better fighters while the North fought the South with one hand tied behind its back (kind of like how the US fought in Vietnam). Again, the bad guys won.