Ecclesiastes 8:14-9:10 Revised Standard Version (RSV)
14 There is a vanity which takes place on earth, that there are righteous men to whom it happens according to the deeds of the wicked, and there are wicked men to whom it happens according to the deeds of the righteous. I said that this also is vanity. 15 And I commend enjoyment, for man has no good thing under the sun but to eat and drink and enjoy himself, for this will go with him in his toil through the days of life which God gives him under the sun.
16 When I applied my mind to know wisdom, and to see the business that is done on earth, how neither day nor night one’s eyes see sleep; 17 then I saw all the work of God, that man cannot find out the work that is done under the sun. However much man may toil in seeking, he will not find it out; even though a wise man claims to know, he cannot find it out.
Take Life as It Comes
9 But all this I laid to heart, examining it all, how the righteous and the wise and their deeds are in the hand of God; whether it is love or hate man does not know. Everything before them is vanity,[a] 2 since one fate comes to all, to the righteous and the wicked, to the good and the evil,[b] to the clean and the unclean, to him who sacrifices and him who does not sacrifice. As is the good man, so is the sinner; and he who swears is as he who shuns an oath. 3 This is an evil in all that is done under the sun, that one fate comes to all; also the hearts of men are full of evil, and madness is in their hearts while they live, and after that they go to the dead. 4 But he who is joined with all the living has hope, for a living dog is better than a dead lion. 5 For the living know that they will die, but the dead know nothing, and they have no more reward; but the memory of them is lost. 6 Their love and their hate and their envy have already perished, and they have no more for ever any share in all that is done under the sun.
7 Go, eat your bread with enjoyment, 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 which 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.