Deuteronomy 19:19

19 you are to receive the punishment the accused would have received. In this way your nation will get rid of this evil.

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 both of you are to go to the one place of worship and be judged by the priests and judges who are then in office.
18 The judges will investigate the case thoroughly; and if you have made a false accusation,
19 you are to receive the punishment the accused would have received. In this way your nation will get rid of this evil.
20 Then everyone else will hear what happened; they will be afraid, and no one will ever again do such an evil thing.
21 In such cases show no mercy; the punishment is to be a life for a life, an eye for an eye, a tooth for a tooth, a hand for a hand, and a foot for a foot.
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.