Ecclesiastes 9:4-7 Amplified Bible (AMP)

4. [There is no exemption] but he who is joined to 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 [here], for the memory of them is forgotten.

6. Their love and their hatred and their envy have already perished; neither have they any more a share in anything that is done under the sun.

7. Go your way, eat your bread with joy, and drink your wine with a cheerful heart [if you are righteous, wise, and in the hands of God], for God has already accepted your works.

Ecclesiastes 9