39 ‘If a countryman of yours becomes so poor with regard to you that he sells himself to you, you shall not subject him to a slave’s service. 40 He shall be with you as a hired man, as if he were a sojourner; he shall serve with you until the year of jubilee. 41 He shall then go out from you, he and his sons with him, and shall go back to his family, that he may return to the property of his forefathers. 42 For they are My servants whom I brought out from the land of Egypt; they are not to be sold in a slave sale. 43 You shall not rule over him with severity, but are to revere your God. 44 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. 45 Then, too, it is out of the sons of the sojourners who live as aliens among you that you may gain acquisition, and out of their families who are with you, whom they will have produced in your land; they also may become your possession. 46 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.
47 ‘Now if the means of a stranger or of a sojourner with you becomes sufficient, and a countryman of yours becomes so poor with regard to him as to sell himself to a stranger who is sojourning with you, or to the descendants of a stranger’s family, 48 then he shall have redemption right after he has been sold. One of his brothers may redeem him, 49 or his uncle, or his uncle’s son, may redeem him, or one of his blood relatives from his family may redeem him; or if he prospers, he may redeem himself. 50 He then with his purchaser shall calculate from the year when he sold himself to him up to the year of jubilee; and the price of his sale shall correspond to the number of years. It is like the days of a hired man that he shall be with him. 51 If there are still many years, he shall refund part of his purchase price in proportion to them for his own redemption; 52 and if few years remain until the year of jubilee, he shall so calculate with him. In proportion to his years he is to refund the amount for his redemption. 53 Like a man hired year by year he shall be with him; he shall not rule over him with severity in your sight. 54 Even if he is not redeemed by these means, he shall still go out in the year of jubilee, he and his sons with him. 55 For the sons of Israel are My servants; they are My servants whom I brought out from the land of Egypt. I am the Lord your God.
12 “If your kinsman, a Hebrew man or woman, is sold to you, then he shall serve you six years, but in the seventh year you shall set him free. 13 When you set him free, you shall not send him away empty-handed. 14 You shall furnish him liberally from your flock and from your threshing floor and from your wine vat; you shall give to him as the Lord your God has blessed you. 15 You shall remember that you were a slave in the land of Egypt, and the Lord your God redeemed you; therefore I command you this today. 16 It shall come about if he says to you, ‘I will not go out from you,’ because he loves you and your household, since he fares well with you; 17 then you shall take an awl and pierce it through his ear into the door, and he shall be your servant forever. Also you shall do likewise to your maidservant. 18 “It shall not seem hard to you when you set him free, for he has given you six years with double the service of a hired man; so the Lord your God will bless you in whatever you do.