Deuteronomy 19:18-20

LEB(i) 18 Then judges shall make a thorough inquiry, and if it turns out* that the witness is a false witness and he testified falsely against his brother, 19 then you shall do to him as he meant* to do to his brother, and so you shall purge the evil from your midst. 20 And the rest* shall hear and shall fear, and they shall not continue to do such a thing again* as this evil thing in your midst.