Ecclesiastes 2
26 For to the one who pleases him God has given wisdom and knowledge and joy, but to the sinner he has given the business of gathering and collecting, only to give to one who pleases God. This also is vanity and a striving after wind.

Ecclesiastes 5
18 Behold, what I have seen to be good and fitting is to eat and drink and find enjoyment in all the toil with which one toils under the sun the few days of his life that God has given him, for this is his lot. 19 Everyone also to whom God has given wealth and possessions and power to enjoy them, and to accept his lot and rejoice in his toil—this is the gift of God. 20 For he will not much remember the days of his life because God keeps him occupied with joy in his heart.

Ecclesiastes 7
9 Be not quick in your spirit to become angry,
for anger lodges in the heart of fools.
10 Say not, “Why were the former days better than these?”
For it is not from wisdom that you ask this.
11 Wisdom is good with an inheritance,
an advantage to those who see the sun.
12 For the protection of wisdom is like the protection of money,
and the advantage of knowledge is that wisdom preserves the life of him who has it.
13 Consider the work of God:
who can make straight what he has made crooked?
14 In the day of prosperity be joyful, and in the day of adversity consider: God has made the one as well as the other, so that man may not find out anything that will be after him.

Ecclesiastes 9
7 Go, eat your bread with joy, and drink your wine with a merry heart, for God has already approved what you do.
8 Let your garments be always white. Let not oil be lacking on your head.
9 Enjoy life with the wife whom you love, all the days of your vain life that He has given you under the sun, because that is your portion in life and in your toil at which you toil under the sun. 10 Whatever your hand finds to do, do it with your might, for there is no work or thought or knowledge or wisdom in Sheol, to which you are going.
11 Again I saw that under the sun the race is not to the swift, nor the battle to the strong, nor bread to the wise, nor riches to the intelligent, nor favor to those with knowledge, but time and chance happen to them all. 12 For man does not know his time. Like fish that are taken in an evil net, and like birds that are caught in a snare, so the children of man are snared at an evil time, when it suddenly falls upon them.

Ecclesiastes 11
4 He who observes the wind will not sow,
and he who regards the clouds will not reap.
5 As you do not know the way the spirit comes to the bones in the womb of a woman with child, so you do not know the work of God who makes everything.
6 In the morning sow your seed, and at evening withhold not your hand, for you do not know which will prosper, this or that, or whether both alike will be good.
7 Light is sweet, and it is pleasant for the eyes to see the sun.
8 So if a person lives many years, let him rejoice in them all; but let him remember that the days of darkness will be many. All that comes is vanity.
9 Rejoice, O young man, in your youth, and let your heart cheer you in the days of your youth. Walk in the ways of your heart and the sight of your eyes. But know that for all these things God will bring you into judgement.
10 Remove vexation from your heart, and put away pain from your body, for youth and the dawn of life are vanity.

Ecclesiastes 12
11 The words of the wise are like goads, and like nails firmly fixed are the collected sayings; they are given by one Shepherd. 12 My son, beware of anything beyond these. Of making many books there is no end, and much study is a weariness of the flesh.
13 The end of the matter; all has been heard. Fear God and keep his commandments, for this is the whole duty of man. 14 For God will bring every deed into judgement, with every secret thing, whether good or evil.