Deuteronomy 25:1

If there is a dispute between men, they are to go to court to be judged, so that the innocent may be acquitted and the guilty condemned.

Berean Standard Bible
Other translations

King James Version

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.

World English Bible

If there is a controversy between men, and they come to judgment and the judges judge them, then they shall justify the righteous and condemn the wicked.

American Standard Version

If there be a controversy between men, and they come unto judgment, and the judges judge them; then they shall justify the righteous, and condemn the wicked.

Geneva Bible 1599

When there shall be strife betweene men, and they shall come vnto iudgement, and sentence shall be giuen vpon them, and the righteous shall be iustified, and the wicked condemned,

Darby Translation

If there be a controversy between men, and they resort to judgment, and they judge [their case]; then they shall justify the righteous, and condemn the wicked.

Young's Literal Translation

'When there is a strife between men, and they have come nigh unto the judgment, and they have judged, and declared righteous the righteous, and declared wrong the wrong-doer,

Bible in Basic English

If there is an argument between men and they go to law with one another, let the judges give their decision for the upright, and against the wrongdoer.

In context

2If the guilty man deserves to be beaten, the judge shall have him lie down and be flogged in his presence with the number of lashes his crime warrants.

Read Deuteronomy 25