Deuteronomy 19:17-21

17then both parties to the dispute shall appear before the Lord, abefore the priests and the judges who are in office in those days. 18The judges shall binquire diligently, and if the witness is a false witness and has accused his brother falsely, 19 cthen you shall do to him as he had meant to do to his brother. So you shall purge the evil
Or  evil person
from your midst.
20And the rest eshall hear and fear, and shall never again commit any such evil among you. 21 fYour eye shall not pity. gIt shall be life for life, eye for eye, tooth for tooth, hand for hand, foot for foot.

Ezekiel 44:24

24 hIn a dispute, they shall act as judges, and they shall judge it according to my judgments. They shall keep my laws and my statutes in all my appointed feasts, and ithey shall keep my Sabbaths holy.
Copyright information for ESV