Deuteronomy 18:22

22 If a prophet speaks in the name of the Lord and what he says does not come true, then it is not the Lord's message. That prophet has spoken on his own authority, and you are not to fear him.

Deuteronomy 18:22 Meaning and Commentary

Deuteronomy 18:22

When a prophet speaketh in the name of the Lord
Says he comes from God, is sent by him, and has a commission from him to say so:

if the thing follow not, nor come to pass;
as the prophecy of Hananiah, ( Jeremiah 28:3 ) that is the thing which the Lord hath not spoken; or otherwise it would have come to pass, unless when a condition is either expressed or implied, as the repentance or disobedience of a people; see ( Jeremiah 18:7-10 )

but the prophet hath spoken it presumptuously;
in a bold and daring manner, with great impiety and impudence, out of his own head and heart, being a mere device and imagination of his own, which, not having the fear of God, he delivered as coming from the Lord:

thou shall not be afraid of him;
not only to reprove him for his wickedness, but also to punish him for it; showing no regard to the high character he assumes, nor to the great pretensions he makes to sanctity, knowledge, and familiarity with God.

Deuteronomy 18:22 In-Context

20 But if any prophet dares to speak a message in my name when I did not command him to do so, he must die for it, and so must any prophet who speaks in the name of other gods.'
21 "You may wonder how you can tell when a prophet's message does not come from the Lord.
22 If a prophet speaks in the name of the Lord and what he says does not come true, then it is not the Lord's message. That prophet has spoken on his own authority, and you are not to fear him.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.