Slavery is horrifically evil. Ending it freed 4 million people from daily robbery, abuse, and a life of subsistence poverty.
Banning slavery eliminated massive dead weight loss. Slavery used violence to force labor from people below the clearing price - it compelled them to work for free.
All liberals should oppose slavery. We should want free people, free markets, and a generous social safety net for all.