Ecclesiastes 2:12 in the King James Version
And I turned myself to behold wisdom, and madness, and folly: for what can the man do that cometh after the king? even that which hath been already done.
Context
11 Then I looked at all the works that my hands had worked, and at the labor that I had labored to do; and behold, all was vanity and a chasing after wind, and there was no profit under the sun.
12 I turned myself to consider wisdom, madness, and folly; for what can the king’s successor do? Just that which has been done long ago.
13 Then I saw that wisdom excels folly, as far as light excels darkness.