Deuteronomy 25:1

King James Version Bible (KJV)
If there be a controversy between men, and they come unto judgment, that the judges may judge them; then they shall justify the righteous, and condemn the wicked.

Read Deuteronomy 25:1 in other translations