...I agree with
@tirediron that those were viewpoints that were considered "acceptable" at the time, but that didn't make them "right". Slavery was acceptable at a time, but that doesn't mean it was right.
See that's the thing; "right" and "wrong" is purely perception and social conditioning. What is right today, may well be wrong in 100 years. Slavery is considered "wrong" today, but in the Roman Empire of 100 BCE, it was not only "right" it was essential.
IMO, I do think you're confusing "right" with "acceptable" in your argument. What was "acceptable" was also likely the result of those people in power at the time. Those who had the privilege and the power were the ones who set the bar on what was acceptable and what wasn't. They then tried to reason why it was the "right" thing to do.
For example, if you were to ask a white person in the Southern USA during periods of slavery, they may say that it is acceptable and "right" to own a black person as a slave. Well, whites had the power, so they could control what was considered acceptable and they would explain why it was "right". They may say that it was the "right" thing to do, because slaves helped with farms to produce food. Is the farm worth the cost of humans in slavery? No. It is not.
Let's not forget that the slaves were badly beaten, raped, tortured, and killed if the owner wanted. So, just because slaves were acceptable, it was now also acceptable to rape them, beat them, torture them because the slaves were the property of the owner. That's not right, nor should it be acceptable. But, it was acceptable to white people, so it was considered the norm. I'm assuming that if you ask a black person, they would vehemently disagree. As they should.
The same goes for your example about the Roman Empire.
Why was slavery essential? To keep those in power.. in power. So, slavery was essential to keep the status quo and to expand the empire. To keep the luxurious lifestyle the Romans wanted. It's been estimated that a quarter of the population in Rome were slaves. A rich man could get 500, while an emperor would have tens of thousands of slaves. Once a slave, you were always a slave. In order to be
free, you had to be given freedom by the owner, or pay the same sum of money that your master paid for you, which was essentially impossible given the circumstances. How can denying someone freedom be "right"? It's not, but it can be acceptable depending on who's in power.
Fathers could sell their children, if they needed money. People captured in war would be sold as slaves. So would abandoned children. A Roman writer Seneca believed that slaves should be treated well. A quote from him regarding slaves:
The result is that slaves who cannot talk before his (the master) face talk about him behind his back. It is this sort of treatment which makes people say, “You’ve as many enemies as you’ve slaves.” They are not our enemies when we get them; we make them so.
People of the time, despite slavery being acceptable, saw that it was likely not "right" or "just" to own slaves, and especially not right to treat them badly. Former soldiers that were captured led to a series of rebellions. In fact, increased legal restrictions against freeing slaves were put in place to ensure an enslaved workforce.
This would show that while it was acceptable for certain people to have slaves, it was not right. Otherwise, there would have been no rebellions.
So, what is acceptable? It depends on who is in power.
What is (morally) right? Not trampling on others simple rights as humans, such as being free.