Deuteronomy 17:7

7 The hand of the witnesses shall be first upon him to put him to death, and afterward the hand of all the people. So thou shalt put away the evil from the midst of thee.

Deuteronomy 17:7 Meaning and Commentary

Deuteronomy 17:7

The hands of the witnesses shall be first upon him to put him
to death
Of everyone of them, as Aben Ezra; they were to cast the first stone at him, which would be a further trial and confirmation of their testimony; for if they readily and without reluctance first began the stoning of the idolater, it would not only show their zeal for the honour of the divine Being, but an unconsciousness of guilt in their testimony, and be an encouragement to others to proceed with safety:

and afterwards the hands of all the people;
should be employed in taking up stones, and casting at him until he was dead:

so thou shall put the evil away from among you;
both the evil man and the evil committed by him, which by this means would be prevented from spreading, seeing by his death others would be deterred from following his example; as well as the evil of punishment, which otherwise would have come upon the nation, had they connived at so gross an iniquity.

Deuteronomy 17:7 In-Context

5 then shalt thou bring forth that man or that woman, who hath done this evil thing, unto thy gates, even the man or the woman; and thou shalt stone them to death with stones.
6 At the mouth of two witnesses, or three witnesses, shall he that is to die be put to death; at the mouth of one witness he shall not be put to death.
7 The hand of the witnesses shall be first upon him to put him to death, and afterward the hand of all the people. So thou shalt put away the evil from the midst of thee.
8 If there arise a matter too hard for thee in judgment, between blood and blood, between plea and plea, and between stroke and stroke, being matters of controversy within thy gates; then shalt thou arise, and get thee up unto the place which Jehovah thy God shall choose;
9 and thou shalt come unto the priests the Levites, and unto the judge that shall be in those days: and thou shalt inquire; and they shall show thee the sentence of judgment.
The American Standard Version is in the public domain.