Deuteronomy 19:16-20

LITV(i) 16 If a vicious witness rises up against any man to charge apostasy against him, 17 then both the men who have the dispute shall stand before Jehovah, before the priests and the judges who shall be in those days. 18 And the judges shall carefully investigate And, behold, if the witness is a false witness, and he has testified falsely against his brother, 19 then you shall do to him as he plotted to do to his brother. And you shall put away the evil from among you. 20 And those who remain shall hear and fear, and thereafter shall not add to commit any such evil among you.