Viewing verse 6 of Exodus 21 (with context)
Read Full Chapter If he came in by himself, he shall go out by himself: if he were married, then his wife shall go out with him.*
If his master have given him a wife, and she have born him sons or daughters; the wife and her children shall be her master’s, and he shall go out by himself.
And if the servant shall plainly say, I love my master, my wife, and my children; I will not go out free:*
Then his master shall bring him unto the judges; he shall also bring him to the door, or unto the door post; and his master shall bore his ear through with an aul; and he shall serve him for ever.
¶ And if a man sell his daughter to be a maidservant, she shall not go out as the menservants do.
If she please not her master, who hath betrothed her to himself, then shall he let her be redeemed: to sell her unto a strange nation he shall have no power, seeing he hath dealt deceitfully with her.*
And if he have betrothed her unto his son, he shall deal with her after the manner of daughters.