John 7:17

17 if any one may will to do His will, he shall know concerning the teaching, whether it is of God, or -- I do speak from myself.

John 7:17 In-Context

15 and the Jews were wondering, saying, `How hath this one known letters -- not having learned?'
16 Jesus answered them and said, `My teaching is not mine, but His who sent me;
17 if any one may will to do His will, he shall know concerning the teaching, whether it is of God, or -- I do speak from myself.
18 `He who is speaking from himself his own glory doth seek, but he who is seeking the glory of him who sent him, this one is true, and unrighteousness is not in him;
19 hath not Moses given you the law? and none of you doth the law; why me do ye seek to kill?'
Young's Literal Translation is in the public domain.