Most people familiar with the Bible at all, knows Ecclesiastes chapter 3 and the first few verses of 'for everything there is a season', written by Solomon.
Here are a couple more verses shortly after:
"So I conclude that, first, there is nothing better for a man than to be happy
and to enjoy himself as long as he can;
and second, that he should eat and drink and enjoy the fruits of his labors,
for these are gifts from God.
And I know this, that whatever God does, is final----nothing can be added or taken from it;
God's purpose in this is that man should fear the all-powerful God."
~ Ecclesiastes 3:12 - 14 LAB
Bible Commentary: "The ability to enjoy life is one of God's most excellent gifts to us, although we can abuse it. God wants us to enjoy life. When we have the proper view of God, we discover that real pleasure is not found in what we accumulate, but in enjoying whatever we have as a gift from God.
"What is the purpose of life? It is that we should fear the all-powerful God. Fear does not mean to cringe in terror, but to respect, revere, and stand in awe of God because of who He is. Purpose in life starts with whom we know, not what we know or how good we are. It is impossible to fulfill your God-given purpose unless you fear God and give Him first place in your life."