It’s immoral that the Bible condones slavery.
Exodus 21 explains how to buy slaves and how you should treat them. That you can beat them as long as they don’t die within a day or two - but if they die on the third day it was not your fault. This shows that the Bible is an ordinary book that explains what was acceptable at the time. But when people claim it was written or inspired by a god - then this god is immoral for accepting this. People say this was the old testimony so we should ignore this. But the old testimony has the Ten Commandments and genesis - so we can’t ignore it.