So I commend enjoyment because there's nothing better for people to do under the sun but to eat, drink, and be glad. This is what will accompany them in their hard work, during the lifetime that God gives under the sun.
References for Ecclesiastes 8:15
Then I set my mind to know wisdom and to observe the business that happens on earth, even going without sleep day and night
I observed all the work of God—that no one can grasp what happens under the sun. Those who strive to know can't grasp it. Even the wise who are set on knowing are unable to grasp it.