Deuteronomy 18:20 International Children’s Bible (ICB)

But a prophet might say something I did not tell him to say. And he might say he is speaking for me. Or a prophet might speak in the name of other gods. That prophet must be killed.”

Deuteronomy 18

Deuteronomy 18:18-21