2 "If you buy a Hebrew slave, he may serve for no more than six years. Set him free in the seventh year, and he will owe you nothing for his freedom. 3 If he was single when he became your slave, he shall leave single. But if he was married before he became a slave, then his wife must be freed with him. 4 "If his master gave him a wife while he was a slave and they had sons or daughters, then only the man will be free in the seventh year, but his wife and children will still belong to his master.

Matthew Henry's Commentary on Exodus 21:2-4

Commentary on Exodus 21:1-11

(Read Exodus 21:1-11)

The laws in this chapter relate to the fifth and sixth commandments; and though they differ from our times and customs, nor are they binding on us, yet they explain the moral law, and the rules of natural justice. The servant, in the state of servitude, was an emblem of that state of bondage to sin, Satan, and the law, which man is brought into by robbing God of his glory, by the transgression of his precepts. Likewise in being made free, he was an emblem of that liberty wherewith Christ, the Son of God, makes free from bondage his people, who are free indeed; and made so freely, without money and without price, of free grace.