Deuteronomy 18:22

22 When a prophet speaks in the Lord's name, and the message does not come true or is not fulfilled, that is a message the Lord has not spoken. The prophet has spoken it presumptuously. Do not be afraid of 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 the prophet who dares to speak in My name a message I have not commanded him to speak, or who speaks in the name of other gods-that prophet must die.'
21 You may say to yourself, 'How can we recognize a message the Lord has not spoken?'
22 When a prophet speaks in the Lord's name, and the message does not come true or is not fulfilled, that is a message the Lord has not spoken. The prophet has spoken it presumptuously. Do not be afraid of him.
Holman Christian Standard Bible ® Copyright © 2003, 2002, 2000, 1999 by Holman Bible Publishers.  Used by permission.  All rights reserved.