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

Matthew 10:22

And ye shall be hated of all men for my name’s sake: but he that endureth to the end shall be saved.

Read in other translations