If a prophet, or one who foretells by dreams, appears among you and announces to you a sign or wonder,
and if the sign or wonder spoken of takes place, and the prophet says, “Let us follow other gods” (gods you have not known) “and let us worship them,”
you must not listen to the words of that prophet or dreamer. The LORD your God is testing you to find out whether you love him with all your heart and with all your soul.
It is the LORD your God you must follow, and him you must revere. Keep his commands and obey him; serve him and hold fast to him.
That prophet or dreamer must be put to death for inciting rebellion against the LORD your God, who brought you out of Egypt and redeemed you from the land of slavery. That prophet or dreamer tried to turn you from the way the LORD your God commanded you to follow. You must purge the evil from among you.