Jeremiah 28:9

New International Version Bible (NIV)
But the prophet who prophesies peace will be recognized as one truly sent by the Lord only if his prediction comes true.”

Read Jeremiah 28:9 in other translations