Deuteronomy 13:1-5

JPS_ASV_Byz(i) 1 (13:2) If there arise in the midst of thee a prophet, or a dreamer of dreams - and he give thee a sign or a wonder, 2 (13:3) and the sign or the wonder come to pass, whereof he spoke unto thee - saying: 'Let us go after other gods, which thou hast not known, and let us serve them'; 3 (13:4) thou shalt not hearken unto the words of that prophet, or unto that dreamer of dreams; for the LORD your God putteth you to proof, to know whether ye do love the LORD your God with all your heart and with all your soul. 4 (13:5) After the LORD your God shall ye walk, and Him shall ye fear, and His commandments shall ye keep, and unto His voice shall ye hearken, and Him shall ye serve, and unto Him shall ye cleave. 5 (13:6) And that prophet, or that dreamer of dreams, shall be put to death; because he hath spoken perversion against the LORD your God, who brought you out of the land of Egypt, and redeemed thee out of the house of bondage, to draw thee aside out of the way which the LORD thy God commanded thee to walk in. So shalt thou put away the evil from the midst of thee.