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

John 7:17

If any man will do his will, he shall know of the doctrine, whether it be of God, or whether I speak of myself.

Read in other translations