Ecclesiastes 3:18-22 English Standard Version (ESV)
18 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. 19 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.[a] 20 All go to one place. All are from the dust, and to dust all return. 21 Who knows whether the spirit of man goes upward and the spirit of the beast goes down into the earth? 22 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?
Ecclesiastes 3:18-22 New International Version (NIV)
18 I also said to myself, “As for humans, God tests them so that they may see that they are like the animals. 19 Surely the fate of human beings is like that of the animals; the same fate awaits them both: As one dies, so dies the other. All have the same breath[a]; humans have no advantage over animals. Everything is meaningless. 20 All go to the same place; all come from dust, and to dust all return. 21 Who knows if the human spirit rises upward and if the spirit of the animal goes down into the earth?”
22 So I saw that there is nothing better for a person than to enjoy their work, because that is their lot. For who can bring them to see what will happen after them?