'Slaves' in the Bible
All of you shall have the sabbath products of the land for food; yourself, and your male and female slaves, and your hired man and your foreign resident, those who live as aliens with you.
As for your male and female slaves whom you may have—you may acquire male and female slaves from the pagan nations that are around you.
You may even bequeath them to your sons after you, to receive as a possession; you can use them as permanent slaves. But in respect to your countrymen, the sons of Israel, you shall not rule with severity over one another.
I am the Lord your God, who brought you out of the land of Egypt so that you would not be their slaves, and I broke the bars of your yoke and made you walk erect.