Deuteronomy 19:19

19 then you shall do to the false witness just as the false witness had meant to do to the other. So you shall purge the evil from your midst.

Deuteronomy 19:19 Meaning and Commentary

Deuteronomy 19:19

Then shall ye do unto him as he had thought to have done unto
his brother
Inflict the same fine or punishment on him he thought to have brought his brother under by his false testimony of him; whether any pecuniary fine, or whipping and scourging, or the loss of a member, or the value of it, or death itself; whether stoning, strangling, burning, or killing with the sword: though, in the case of accusing a priest's daughter of adultery, as Jarchi observes, such were not to be burnt, as would have been her case if proved, but strangled:

so shalt thou put the evil away from among you;
the evil man that bears a false testimony of his brother, or the guilt of sin which would be incurred by conniving at him.

Deuteronomy 19:19 In-Context

17 then both parties to the dispute shall appear before the Lord, before the priests and the judges who are in office in those days,
18 and the judges shall make a thorough inquiry. If the witness is a false witness, having testified falsely against another,
19 then you shall do to the false witness just as the false witness had meant to do to the other. So you shall purge the evil from your midst.
20 The rest shall hear and be afraid, and a crime such as this shall never again be committed among you.
21 Show no pity: life for life, eye for eye, tooth for tooth, hand for hand, foot for foot.
New Revised Standard Version Bible, copyright 1989, 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.