Ecclesiastes 3:16-21 New Revised Standard Version (NRSV)
Judgment and the Future Belong to God
16 Moreover I saw under the sun that in the place of justice, wickedness was there, and in the place of righteousness, wickedness was there as well. 17 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. 18 I said in my heart with regard to human beings that God is testing them to show that they are but animals. 19 For the fate of humans and the fate of animals is the same; as one dies, so dies the other. They all have the same breath, and humans have no advantage over the animals; for all is vanity. 20 All go to one place; all are from the dust, and all turn to dust again. 21 Who knows whether the human spirit goes upward and the spirit of animals goes downward to the earth?