Deuteronomy 13:1-5 NKJV
“If there arises among you a prophet or a dreamer of dreams, and he gives you a sign or a wonder, and the sign or the wonder comes to pass, of which he spoke to you, saying, ‘Let us go after other gods’—which you have not known—‘and let us serve them,’ you shall not listen to the words of that prophet or that dreamer of dreams, for the LORD your God is testing you to know whether you love the LORD your God with all your heart and with all your soul. You shall walk after the LORD your God and fear Him, and keep His commandments and obey His voice; you shall serve Him and hold fast to Him. But that prophet or that dreamer of dreams shall be put to death, because he has spoken in order to turn you away from the LORD your God, who brought you out of the land of Egypt and redeemed you from the house of bondage, to entice you from the way in which the LORD your God commanded you to walk. So you shall put away the evil from your midst.
NKJV: New King James Version