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

Matthew 22:31

But as touching the resurrection of the dead, have ye not read that which was spoken unto you by God, saying,

Read in other translations