Slave owning is not condemned in the scriptures.
However, forcibly enslaving someone would be condemned.
Voluntary servitude is not condemned.
John 8:34Jesus replied, "I tell you the truth, everyone who sins is a slave to sin. 35Now a slave has no permanent place in the family, but a son belongs to it forever. 36So if the Son sets you free, you will be free indeed. 37I know you are Abraham's descendants. Yet you are ready to kill me, because you have no room for my word. 38I am telling you what I have seen in the Father's presence, and you do what you have heard from your father.[c]"
The bible teaches we are all slaves and can only have one of two masters.