Which ignores the difference in rules applying to Hebrew slaves compared to foreign slaves. As far as foreigners are concerned, you could beat them severely as long as you don't outright beat them to death. You could give wives to your male slaves, and the children would be born enslaved. After your death, these slaves became part of your inheritance.
How is that substantially different from our modern understanding of the word?