Proverbs 12:8
A man is praised according to his wisdom, but a twisted mind is despised.
Berean Standard Bible
A man shall be commended according to his wisdom: but he that is of a perverse heart shall be despised.
A man shall be commended according to his wisdom, but he who has a warped mind shall be despised.