Proverbs 18:5

Showing partiality to the wicked is not good, nor is depriving the innocent of justice.

Note Hebrew Lifting the face

BSB · Berean Standard Bible
It is not good to accept the person of the wicked, to overthrow the righteous in judgment.
KJV · King James Version
To be partial to the faces of the wicked is not good, nor to deprive the innocent of justice.
WEB · World English Bible
To respect the person of the wicked is not good, Nor to turn aside the righteous in judgment.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

not
Proverbs 24:23; Proverbs 28:21; Leviticus 19:15; Deuteronomy 1:16, 17; Deuteronomy 16:19; Job 13:7, 8; Job 34:19; Matthew 22:16
to overthrow
1 Kings 21:9–14; Isaiah 5:23; Isaiah 59:14; Micah 7:3