Ecclesiastes 7:11-18
English Standard Version
Chapter 7
11Wisdom is good with an inheritance, an advantage to those who see the sun. 12For the protection of wisdom is like the protection of money, and the advantage of knowledge is that wisdom preserves the life of him who has it. 13Consider the work of God: who can make straight what he has made crooked? 14In the day of prosperity be joyful, and in the day of adversity consider: God has made the one as well as the other, so that man may not find out anything that will be after him.
15In my vain life I have seen everything. There is a righteous man who perishes in his righteousness, and there is a wicked man who prolongs his life in his evildoing.
16Be not overly righteous, and do not make yourself too wise. Why should you destroy yourself?
17Be not overly wicked, neither be a fool. Why should you die before your time?
18It is good that you should take hold of this, and from that withhold not your hand, for the one who fears God shall come out from both of them.