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

Matthew 2:5

And they said unto him, In Bethlehem of Judea: for thus it is written by the prophet,

Read in other translations