Deuteronomy 17:7

7 The hand of the witnesses shall be first against him to put him to death, and afterward the hand of all the people. So you shall purge the evil from the midst of you.

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 you shall bring forth to your gates that man or woman who has done this evil thing, and you shall stone that man or woman to death with stones.
6 On the evidence of two witnesses or of three witnesses he that is to die shall be put to death; a person shall not be put to death on the evidence of one witness.
7 The hand of the witnesses shall be first against him to put him to death, and afterward the hand of all the people. So you shall purge the evil from the midst of you.
8 "If any case arises requiring decision between one kind of homicide and another, one kind of legal right and another, or one kind of assault and another, any case within your towns which is too difficult for you, then you shall arise and go up to the place which the LORD your God will choose,
9 and coming to the Levitical priests, and to the judge who is in office in those days, you shall consult them, and they shall declare to you the decision.
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved.