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

John 17:4

I have glorified thee on the earth: I have finished the work which thou gavest me to do.

Read in other translations