Proverbs 17:15

Those who justify the impious, and those who condemn the just, both are abominable with God

Other versions

King James Version

He that justifieth the wicked, and he that condemneth the just, even they both are abomination to the LORD.

English Standard Version

He who justifies the wicked and he who condemns the righteous are both alike an abomination to the LORD.

New International Version

Acquitting the guilty and condemning the innocent- the LORD detests them both.