Deuteronomy 13:5

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.