Was slavery indispensable to the growth of the western economies?

Which was more important in bringing about the abolition of slavery: economic interest or moral conviction?