What did abraham lincon do for the civil war?

he said if the confedrate states didint join th union he would free all slaves