A
Well, it says in Exodus in that same chapter that a slave is the master's property. That sounds the same as the 1700/1800 version of slavery. The bible says there is no punishment for a non-lethal beating of a slave, for he or she is your property.
If you've continued to read since you posted this question, there's a decent chance you learned something about who the slaves were back then. (Stuff like only slaves for 7 years unless the slave wanted to stay longer, got paid 10% of the profit for what they contributed to the household, was a good way to deal with debt you couldn't afford, good way of taking care of the disabled, good way to deal with common criminals and POWs. Really, really. It's covered.)