Deuter­­onomy 18:22 Modern English Version (MEV)

When a prophet speaks in the name of the Lord, if the thing does not occur 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.

Deuter­­onomy 18

Deuter­­onomy 18:20-22