Verse 11. - The penalty publicly inflicted, and therefore generally known, would have a deterrent effect on the community, so as to prevent the recurrence of such evil.
13:6-11 It is the policy of Satan to try to lead us to evil by those whom we love, whom we least suspect of any ill design, and whom we are desirous to please, and apt to conform to. The enticement here is supposed to come from a brother or child, who are near by nature; from a wife or friend, who are near by choice, and are to us as our souls. But it is our duty to prefer God and religion, before the nearest and dearest friends we have in the world. We must not, to please our friends, break God's law. Thou shalt not consent to him, nor go with him, not for company, or curiosity, not to gain his affections. It is a general rule, If sinners entice thee, consent thou not, Pr 1:10. And we must not hinder the course of God's justice.
And all Israel shall hear, and fear,.... Shall hear of the death the enticer was put unto, and shall fear to act such a part he did, and be upon their guard against any such person, and be cautious that they are not drawn into sin by him:
and shall do no more any such wickedness as this is among you; either to entice unto idolatry or commit it; which is a piece of wickedness against the first table of the law, and a very heinous one, and exceeding offensive and provoking to God, being so directly against his being, perfections, and glory.