Exodus 21:2-6 Expanded Bible (EXB)
2 “·If [or When] 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 [with no debt]. 3 If he ·is not married when he becomes your slave [L came single/alone], he must leave ·without a wife [L single; alone]. But if he ·is married when he becomes your slave [L comes in with a wife], he may ·take [L go out with] 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 [L He will go out single/alone].
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 [T the judges; C Hebrew: Elohim]. The master is to take him to a door or ·doorframe [doorpost] and ·punch a hole through [pierce] the slave’s ear using ·a sharp tool [an awl]. Then the slave will serve that master all his life.