A sinner may commit a hundred crimes and yet live a long life. Still, I know with certainty that it will go well for those who fear God, because they fear him.
But it will not go well for the wicked. They will not live any longer. Their lives are like shadows, because they don't fear God.
There is something being done on earth that is pointless. Righteous people suffer for what the wicked do, and wicked people get what the righteous deserve. I say that even this is pointless.
So I recommend the enjoyment [of life]. People have nothing better to do under the sun than to eat, drink, and enjoy themselves. This joy will stay with them while they work hard during their brief lives which God has given them under the sun.
When I carefully considered how to study wisdom and how to look at the work that is done on earth (even going without sleep day and night),
then I saw everything that God has done. No one is able to grasp the work that is done under the sun. However hard a person may search for it, he will not find [its meaning]. Even though a wise person claims to know, he is not able to grasp it.