Deuteronomy 13:5

5 That prophet or dreamer must be put to death for inciting rebellion against the LORD your God, who brought you out of Egypt and redeemed you from the land of slavery. That prophet or dreamer tried to turn you from the way the LORD your God commanded you to follow. You must purge the evil from among you.

Read Deuteronomy 13:5 Using Other Translations

And that prophet, or that dreamer of dreams, shall be put to death; because he hath spoken to turn you away from the LORD your God, which brought you out of the land of Egypt, and redeemed you out of the house of bondage, to thrust thee out of the way which the LORD thy God commanded thee to walk in. So shalt thou put the evil away from the midst of thee.
But that prophet or that dreamer of dreams shall be put to death, because he has taught rebellion against the LORD your God, who brought you out of the land of Egypt and redeemed you out of the house of slavery, to make you leave the way in which the LORD your God commanded you to walk. So you shall purge the evil from your midst.
The false prophets or visionaries who try to lead you astray must be put to death, for they encourage rebellion against the LORD your God, who redeemed you from slavery and brought you out of the land of Egypt. Since they try to lead you astray from the way the LORD your God commanded you to live, you must put them to death. In this way you will purge the evil from among you.