Old Testament readings use the Septuagint , the Scripture the apostles quoted. Masoretic numbering shown for reference.Learn why
WEB

Exodus 21:3

If he comes in by himself, he shall go out by himself. If he is married, then his wife shall go out with him.

Read in other translations