1 Then God said to Moses, “These are the laws for living that you will give to the Israelites:
2 “If you buy a Hebrew slave, he will serve you for six years. In the seventh year you are to set him free, and he will have to pay nothing.
3 If he is not married when he becomes your slave, he must leave without a wife. But if he is married when he becomes your slave, he may take his wife with him.
4 If the slave’s master gives him a wife, and she gives birth to sons or daughters, the woman and her children will belong to the master. When the slave is set free, only he may leave.
5 “But if the slave says, ‘I love my master, my wife and my children, and I don’t want to go free,’
6 then the slave’s master must take him to God. The master is to take him to a door or doorframe and punch a hole through the slave’s ear using a sharp tool. Then the slave will serve that master all his life.