Deuteronomy 13:1-5 New Revised Standard Version (NRSV)
13 [a] If prophets or those who divine by dreams appear among you and promise you omens or portents, 2 and the omens or the portents declared by them take place, and they say, “Let us follow other gods” (whom you have not known) “and let us serve them,” 3 you must not heed the words of those prophets or those who divine by dreams; for the Lord your God is testing you, to know whether you indeed love the Lord your God with all your heart and soul. 4 The Lord your God you shall follow, him alone you shall fear, his commandments you shall keep, his voice you shall obey, him you shall serve, and to him you shall hold fast. 5 But those prophets or those who divine by dreams shall be put to death for having spoken treason against the Lord your God—who brought you out of the land of Egypt and redeemed you from the house of slavery—to turn you from the way in which the Lord your God commanded you to walk. So you shall purge the evil from your midst.