Deuteronomy 18:22

New International Version Bible (NIV)
If what a prophet proclaims in the name of the Lord does not take place or come true, that is a message the Lord has not spoken. That prophet has spoken presumptuously, so do not be alarmed.

Read Deuteronomy 18:22 in other translations