A atheist asked me “In what context do you think owning a another human is ok?” How should I respond?

It’s ok if:

-It’s a way to empower and educate the slave then set him free

-Deter enemies from attacking your city (since they could get enslaved for doing that).