Deuteronomy 13:5

5 `And that prophet, or that dreamer of the dream, is put to death, for he hath spoken apostacy against Jehovah your God (who is bringing you out of the land of Egypt, and hath ransomed you out of a house of servants), to drive you out of the way in which Jehovah thy God hath commanded thee to walk, and thou hast put away the evil thing from thy midst.

Deuteronomy 13:5 Meaning and Commentary

Deuteronomy 13:5

And that prophet, or that dreamer of dreams, shall be put to
death
Which death, according to the Targum of Jonathan, was to be killed with the sword:

because he hath spoken to turn you away from the Lord your God;
or "spoken revolt against the Lord" F12, high treason against him, delivering out doctrine that tends to cause his subjects to rebel against him, and revolt from him; and therefore he is justly deserving of death, to draw off a people from him he had been so good and kind unto; so that to apostasy would be added the sin of ingratitude:

which brought you out of the land of Egypt, and redeemed you out of the
house of bondage;
and so was not only their Lord by creation whom they ought to serve, but by redemption, which laid them under double obligation to serve him:

to thrust thee out of the way which the Lord thy God commanded thee to
walk in;
not by external force, but by the power of persuasion, by enticing words and arguments:

so shalt thou put the evil away from the midst of thee;
the evil man, by putting him to death, and the evil of idolatry, by not listening to the words of the false prophet.


FOOTNOTES:

F12 (hro) "apostasiam", Junius & Tremellius, Piscator; "defectionem", Tigurine version.

Deuteronomy 13:5 In-Context

3 thou dost not hearken unto the words of that prophet, or unto that dreamer of the dream, for Jehovah your God is trying you, to know whether ye are loving Jehovah your God with all your heart, and with all your soul;
4 after Jehovah your God ye walk, and Him ye fear, and His commands ye keep, and to His voice ye hearken, and Him ye serve, and to Him ye cleave.
5 `And that prophet, or that dreamer of the dream, is put to death, for he hath spoken apostacy against Jehovah your God (who is bringing you out of the land of Egypt, and hath ransomed you out of a house of servants), to drive you out of the way in which Jehovah thy God hath commanded thee to walk, and thou hast put away the evil thing from thy midst.
6 `When thy brother -- son of thy mother, or thy son, or thy daughter, or the wife of thy bosom, or thy friend who [is] as thine own soul -- doth move thee, in secret, saying, Let us go and serve other gods -- (which thou hast not known, thou and thy fathers,
7 of the gods of the peoples who [are] round about you, who are near unto thee, or who are far off from thee, from the end of the earth even unto the end of the earth) --
Young's Literal Translation is in the public domain.