Deuteronomy 19:18-20

ACV(i) 18 and the judges shall make diligent inquiry. And, behold, if the witness is a false witness, and has testified falsely against his brother, 19 then ye shall do to him, as he had thought to do to his brother. So shall thou put away the evil from the midst of thee. 20 And those who remain shall hear, and fear, and shall henceforth commit no more any such evil in the midst of thee.