In some cases, such as that of Moses, Elijah, Elisha, and Jesus, God’s prophets performed miraculous works that attested to the genuineness of their message and office.
... The three essentials for establishing the credentials of a true prophet, as given through Moses, were: The true prophet would speak in Jehovah’s name; the things foretold would come to pass (De 18:20-22); and his prophesying must promote true worship, being in harmony with God’s revealed word and commandments (De 13:1-4).