Ecclesiastes 7:15-25

15All this have I seen in my days of vanity: there is a righteous man who perishes in his righteousness, and there is a wicked man who lives long in his evildoing. 16Don't be overly righteous, neither make yourself overly wise. Why should you destroy yourself? 17Don't be too wicked, neither be foolish. Why should you die before your time? 18It is good that you should take hold of this. Yes, also from that don't withdraw your hand; for he who fears God will come forth from them all. 19Wisdom is a strength to the wise man more than ten rulers who are in a city. 20Surely there is not a righteous man on earth, who does good and doesn't sin. 21Also don't take heed to all words that are spoken, lest you hear your servant curse you; 22for often your own heart knows that you yourself have likewise cursed others. 23All this have I proved in wisdom. I said, "I will be wise;" but it was far from me. 24That which is, is far off and exceedingly deep. Who can find it out? 25I turned around, and my heart sought to know and to search out, and to seek wisdom and the scheme of things, and to know that wickedness is stupidity, and that foolishness is madness.