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

John 11:51

And this spake he not of himself: but being high priest that year, he prophesied that Jesus should die for that nation;

Read in other translations