Why did we free the slaves?

Largely it was religious arguments. Starting with Quakers, but spreading throughout various Christian groups, particularly in the North which has always enjoyed a more progressive Christian outlook.