John 7:17

17 If anyone wants to do His will, he shall know concerning the doctrine, whether it is from God or whether I speak on My own authority.

John 7:17 In-Context

15 And the Jews marveled, saying, "How does this Man know letters, having never studied?"
16 Jesus answered them and said, "My doctrine is not Mine, but His who sent Me.
17 If anyone wants to do His will, he shall know concerning the doctrine, whether it is from God or whether I speak on My own authority.
18 He who speaks from himself seeks his own glory; but He who seeks the glory of the One who sent Him is true, and no unrighteousness is in Him.
19 Did not Moses give you the law, yet none of you keeps the law? Why do you seek to kill Me?"
Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.