I did this three part answer to a similar thread 10 months ago https://www.reddit.com/r/AskHistorians/comments/kfqu3q/how_did_the_transformation_of_roman_style_slavery/
There are answers by /u/Aithiopika and /u/textandtrowel in How did Roman slavery end? Where did all those slaves go? Why did slavery end?