Proverbs 17:15

Acquitting the guilty and condemning the righteous—both are detestable to the LORD.