Ecclesiastes 9:1-10 NASB1995
For I have taken all this to my heart and explain it that righteous men, wise men, and their deeds are in the hand of God. Man does not know whether it will be love or hatred; anything awaits him.
It is the same for all. There is one fate for the righteous and for the wicked; for the good, for the clean and for the unclean; for the man who offers a sacrifice and for the one who does not sacrifice. As the good man is, so is the sinner; as the swearer is, so is the one who is afraid to swear. This is an evil in all that is done under the sun, that there is one fate for all men. Furthermore, the hearts of the sons of men are full of evil and insanity is in their hearts throughout their lives. Afterwards they go to the dead. For whoever is joined with all the living, there is hope; surely a live dog is better than a dead lion. For the living know they will die; but the dead do not know anything, nor have they any longer a reward, for their memory is forgotten. Indeed their love, their hate and their zeal have already perished, and they will no longer have a share in all that is done under the sun.
Go then, eat your bread in happiness and drink your wine with a cheerful heart; for God has already approved your works. Let your clothes be white all the time, and let not oil be lacking on your head. Enjoy life with the woman whom you love all the days of your fleeting life which He has given to you under the sun; for this is your reward in life and in your toil in which you have labored under the sun.
Whatever your hand finds to do, do it with all your might; for there is no activity or planning or knowledge or wisdom in Sheol where you are going.
NASB1995: New American Standard Bible - NASB 1995