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

Matthew 5:27

“You have heard that it was said, ‘You shall not commit adultery;’

Read in other translations