Deuteronomy 13:1-3

1If a prophet or aa dreamer of dreams arises among you and gives you a sign or a wonder, 2and bthe sign or wonder that he tells you comes to pass, and if he says, ‘Let us go after other gods,’ which you have not known, ‘and let us serve them,’ 3you shall not listen to the words of that prophet or that dreamer of dreams. For the Lord your God cis testing you, to know whether you love the Lord your God with all your heart and with all your soul.
Copyright information for ESV