Deuteronomy 19:17-21

ISV(i) 17 then both must stand with their dispute in the LORD’s presence, the priests, and the judges at that time. 18 The judges will investigate thoroughly. If the false witness lies in testifying against his relative, 19 do to him just as he intended to do to his relative. By doing this you will purge evil from your midst. 20 When others hear of this, they will be afraid and will not do such an evil deed again in your midst. 21 Your eyes must not show pity—life for life, eye for eye, tooth for tooth, hand for hand, and foot for foot.”