38 This is the command of the Lord your God, who brought you out of Egypt in order to give you the land of Canaan and to be your God.
39 If any Israelites living near you become so poor that they sell themselves to you as a slave, you shall not make them do the work of a slave.
40 They shall stay with you as hired workers and serve you until the next Year of Restoration.
41 At that time they and their children shall leave you and return to their family and to the property of their ancestors.
42 The people of Israel are the Lord's slaves, and he brought them out of Egypt; they must not be sold into slavery.
43 Do not treat them harshly, but obey your God.
44 If you need slaves, you may buy them from the nations around you.