Shemot / Exodus 23:7 · Remez
מִדְּבַר־שֶׁקֶר תִּרְחָק וְנָקִי וְצַדִּיק אַל־תַּהֲרֹג כִּי לֹא־אַצְדִּיק רָשָׁע׃
Keep far from a false matter. Do not kill the innocent and the righteous, for I will not acquit the wicked.
Remez רֶמֶז
A judge in the image of the One
In the Torah's words about judging, the commentators find a hidden word and a phrase that seems out of place. Both hints speak of what a judge must be, and of the Creator's judgement.
The Zohar finds in the words "and takes no bribe" (וְלֹא יִקַּח שֹׁחַד) a hidden word "one" (אֶחָד): the last letters of the three words. A judge must be like the One, who shows no favour. Midrash Lekach Tov asks why it says "I will not acquit the wicked" and not "I will not condemn the righteous", and concludes: if the Creator does not acquit the wicked, all the more He will not condemn the righteous, for the measure of good is greater than the measure of punishment.
How Zohar and Midrash Lekach Tov explain it
Zohar Keep far from a false matter
"Keep far from a false matter, and do not kill the innocent and the righteous." The commandment is to treat the litigants equally and to keep far from a false matter, so that it not be said that the judge shows favour. For of the Holy One, blessed is He, it is said: "Who shows no favour and takes no bribe" (Devarim / Deuteronomy 10:17). "And takes no bribe" (וְלֹא יִקַּח שֹׁחַד): the last letters of these words make "one" (אֶחָד). This judge must be in the image of the One, for the Eternal is one, and take no bribe, so as to be like Him.
Midrash Lekach Tov For I will not acquit the wicked
It should have said: "for I will not condemn the righteous". But Scripture goes back to the words "do not kill the innocent": even if a man left the court acquitted, and before Me he is guilty, I will exact it from him, as it says: "for I will not acquit the wicked". And all the more "I will not condemn the righteous", for the measure of good is greater than the measure of punishment.
Takeaway
The last letters of the words וְלֹא יִקַּח שֹׁחַד, alef (א), chet (ח), dalet (ד), make the word אֶחָד, "one".
"Showing favour" (מַשּׂוֹא פָּנִים) is when a judge looks at the face of the one before him and not at the case.
"The measure of good is greater than the measure of punishment" is a rule of the sages: the Creator's reward is always more generous than punishment (Sotah 11a).
Both hints derive the law of the court from what the Creator is: He is one and takes no bribe, He will not acquit the wicked and all the more will not condemn the righteous.