Then people will capture more slaves just to sell them to people that will free them. And when you stop buying they'll kill them because now they don't have enough buyers. It is a noble idea but it would only cause more suffering.