Proverbs 12:8 in the King James Version
A man shall be commended according to his wisdom: but he that is of a perverse heart shall be despised.
Context
7 The wicked are overthrown, and are no more, but the house of the righteous shall stand.
8 A man shall be commended according to his wisdom, but he who has a warped mind shall be despised.
9 Better is he who is little known, and has a servant, than he who honors himself and lacks bread.