Deuteronomy 18:22

NLT
New Living Translation

22If the prophet speaks in the Lord’s name but his prediction does not happen or come true, you will know that the Lord did not give that message. That prophet has spoken without my authority and need not be feared.