People are praised according to their prudence, and those with warped minds are despised.
NIV
A man shall be commended according to his Wisdom [godly Wisdom, which is comprehensive insight into the ways and purposes of God], but he who is of a perverse heart shall be despised.
AMP
A man shall be commended according to his wisdom: but he that is of a perverse heart shall be despised.
KJV