New King James Version

Deuteronomy 18:22 New King James Version (NKJV)

when a prophet speaks in the name of the Lord, if the thing does not happen or come to pass, that is the thing which the Lord has not spoken; the prophet has spoken it presumptuously; you shall not be afraid of him.

Deuteronomy 18

Deuteronomy 18:18-22