answered question
Confederate states left the Union because they didn't want Northern states, or the Union to get rid of slavery. They wanted to keep slavery going and keep their slaves.