Deuteronomy 18:22

When a prophet speaks in the name of the Lord and the message does not come to pass or come true, that is a message the Lord has not spoken. The prophet has spoken presumptuously. Do not be afraid of him.
BSB · Berean Standard Bible
When a prophet speaketh in the name of the Lord, if the thing follow not, nor come to pass, that is the thing which the Lord hath not spoken, but the prophet hath spoken it presumptuously: thou shalt not be afraid of him.
KJV · King James Version
When a prophet speaks in the Lord’s name, if the thing doesn’t follow, nor happen, that is the thing which the Lord has not spoken. The prophet has spoken it presumptuously. You shall not be afraid of him.
WEB · World English Bible
when a prophet speaketh in the name of Jehovah, if the thing follow not, nor come to pass, that is the thing which Jehovah hath not spoken: the prophet hath spoken it presumptuously, thou shalt not be afraid of him.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

speaketh
Isaiah 41:22; Jeremiah 28:1–14
if the thing
Deuteronomy 13:2; 2 Kings 20:1; Jonah 3:4; Jonah 4:2; Zechariah 1:5, 6
presumptuously
Deuteronomy 18:20; Jeremiah 28:15–17
shalt not
Proverbs 26:2