Parallel
Proverbs 17:26
Westminster Leningrad Codex · Berean Standard Bible
גַּ֤ם עֲנ֣וֹשׁ לַצַּדִּ֣יק לֹא־ ט֑וֹב לְהַכּ֖וֹת נְדִיבִ֣ים עַל־ יֹֽשֶׁר׃
It is surely not good to punish the innocent or to flog a noble for his honesty.