1 Peter 2:23dikaiōs
and while being reviled, He did not revile in return; while suffering, He uttered no threats, but kept entrusting {Himself} to Him who judges righteously;
Jesus entrusted himself to God, who judges righteously, when suffering.
Jeremiah 11:20tsedeq
But, O Lord of hosts, who judges righteously, Who tries the feelings and the heart, Let me see Your vengeance on them, For to You have I committed my cause.
God judges righteously and tests the heart; the prophet commits his cause to him.
Deuteronomy 1:16tsedeq
"Then I charged your judges at that time, saying, 'Hear {the cases} between your fellow countrymen, and judge righteously between a man and his fellow countryman, or the alien who is with him.
Moses charges judges to judge fairly, including foreigners.