Eccl. 2:9 So I became great and surpassed all who were before me in Jerusalem; also my wisdom remained with me. 10 Whatever my eyes desired I did not keep from them; I kept my heart from no pleasure, for my heart found pleasure in all my toil, and this was my reward for all my toil. 11 Then I considered all that my hands had done and the toil I had spent in doing it, and again, all was vanity and a chasing after wind, and there was nothing to be gained under the sun.
Eccl. 2:12 So I turned to consider wisdom and madness and folly; for what can the one do who comes after the king? Only what has already been done. 13 Then I saw that wisdom excels folly as light excels darkness.
14 The wise have eyes in their head,
but fools walk in darkness.
Yet I perceived that the same fate befalls all of them. 15 Then I said to myself, “What happens to the fool will happen to me also; why then have I been so very wise?” And I said to myself that this also is vanity.