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.
4
The context and parallel passages (Leviticus 20:2) indicate that there was to be a regular judicial procedure, and that the manner of t…

And that prophet. Since the ministers of Satan deceive people by their plausible exterior when they vaunt themselves to be the prophets of…

And that prophet, or that dreamer of dreams, shall be put to
death
Which death, accor…

Moses had cautioned against the danger that might arise from the Canaanites. Here he cautions against the rise of idolatry among themselves.
Albert Barnes
AlbertBarnes