Exodus 21:1 Now these are the judgments which thou shalt set before them. 2 If thou buy an Hebrew servant, six years he shall serve: and in the seventh he shall go out free for nothing. 3 If he came in by himself, he shall go out by himself: if he were married, then his wife shall go out with him.
[Patriarchs & Prophets pp 310] The minds of the people, blinded and debased by slavery and heathenism, were not prepared to appreciate fully the far-reaching principles of God's ten precepts. That the obligations of the Decalogue might be more fully understood and enforced, additional precepts were given, illustrating and applying the principles of the Ten Commandments. These laws were called judgments, both because they were framed in infinite wisdom and equity and because the magistrates were to give judgment according to them.
Unlike the Ten Commandments, they were delivered privately to Moses, who was to communicate them to the people. The first of these laws related to servants. In ancient times criminals were sometimes sold into slavery by the judges; in some cases, debtors were sold by their creditors; and poverty even led persons to sell themselves or their children. But a Hebrew could not be sold as a slave for life. His term of service was limited to six years; on the seventh he was to be set at liberty. Manstealing, deliberate murder, and rebellion against parental authority were to be punished with death.
The holding of slaves not of Israelitish birth was permitted, but their life and person were strictly guarded. The murderer of a slave was to be punished; an injury inflicted upon one by his master, though no more than the loss of a tooth, entitled him to his freedom. The Israelites had lately been servants themselves, and now that they were to have servants under them, they were to beware of indulging the spirit of cruelty and exaction from which they had suffered under their Egyptian taskmasters.
Exodus 23:9 Also thou shalt not oppress a stranger: for ye know the heart of a stranger, seeing ye were strangers in the land of Egypt.
May The Lord add His blessing to the study of His word. God bless!