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

Exodus 21:23

But if any harm follows, then you must take life for life,

Read in other translations