Ecclesiastes 8:15

And so, I praised rejoicing, because there was no good for a man under the sun, except to eat and drink, and to be cheerful, and because he may take nothing with him from his labor in the days of his life, which God has given to him under the sun

Other versions

King James Version

Then I commended mirth, because a man hath no better thing under the sun, than to eat, and to drink, and to be merry: for that shall abide with him of his labour the days of his life, which God giveth him under the sun.

English Standard Version

And I commend joy, for man has no good thing under the sun but to eat and drink and be joyful, for this will go with him in his toil through the days of his life that God has given him under the sun.

New International Version

So I commend the enjoyment of life, because nothing is better for a man under the sun than to eat and drink and be glad. Then joy will accompany him in his work all the days of the life God has given him under the sun.