Such a prophet or dreamer must be put to death, because he has advocated rebellion against the LORD your God, who brought you out of the land of Egypt and redeemed you from the house of slavery, in order to turn you from the way the LORD your God has commanded you to walk. So you must purge the evil from among you.