Ecclesiastes 3:16-22 ESV
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 there is a time for every matter and for every work. I said in my heart with regard to the children of man that God is testing them that they may see that they themselves are but beasts. For what happens to the children of man and what happens to the 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 to dust all return. Who knows whether the spirit of man goes upward and the spirit of the beast goes down into the earth? So I saw that there is nothing better than that a man should rejoice in his work, for that is his lot. Who can bring him to see what will be after him?
ESV: English Standard Version 2016