then his master shall bring him to God, and bring him to the door or the doorpost, and his master shall pierce his ear with an awl, and he will serve him for life.
In context
4If his master gave him a wife and she bore him sons or daughters, the wife and her children belong to her master, and he is to go out alone. 5But if the servant plainly says, ‘I love my master, my wife, and my children — I do not want to go free,’ 6then his master shall bring him to God, and bring him to the door or the doorpost, and his master shall pierce his ear with an awl, and he will serve him for life. 7If a man sells his daughter as a servant, she is not to go free as male servants do. 8If she is displeasing to her master, who chose her for himself, he must let her be redeemed. He has no right to sell her to foreigners, since he has broken faith with her.