46 and you may leave them as an inheritance to your children, whom they must serve as long as they live. But you must not treat any Israelites harshly.
47 Suppose a foreigner living with you becomes rich, while some Israelites become poor and sell themselves as slaves to that foreigner or to a member of that foreigner's family.
48 After they are sold, they still have the right to be bought back. A brother
49 or an uncle or a cousin or another close relative may buy them back; or if they themselves earn enough, they may buy their own freedom.
50 They must consult the one who bought them, and they must count the years from the time they sold themselves until the next Year of Restoration and must set the price for their release on the basis of the wages paid hired workers.
51-52 They must refund a part of the purchase price according to the number of years left,
53 as if they had been hired on an annual basis. Their master must not treat them harshly.