Ecclesiastes 3:16-4:3
Moreover I saw under the sun that in the place of justice, even there was wickedness, and in the place of righteousness, even there was wickedness. I said in my heart, God will judge the righteous and the wicked, for he has appointed a time for every matter, and for every work.
I said in my heart with regard to the sons of men that God is testing them to show them that they are but beasts. For the fate of the sons of men and the fate of beasts is the same; as one dies, so dies the other. They all have the same breath, and man has no advantage over the beasts; for all is vanity. All go to one place; all are from the dust, and all turn to dust again. Who knows whether the spirit of man goes upward and the spirit of the beast goes down to the earth?
So I saw that there is nothing better than that a man should enjoy his work, for that is his lot; who can bring him to see what will be after him?
Again I saw all the oppressions that are practiced under the sun. And behold, the tears of the oppressed, and they had no one to comfort them! On the side of their oppressors there was power, and there was no one to comfort them. And I thought the dead who are already dead more fortunate than the living who are still alive; but better than both is he who has not yet been, and has not seen the evil deeds that are done under the sun.