Ecclesiastes 3:19-21

ISV(i) 19 For what happens to people also happens to animals—a single event happens to them: just as someone dies, so does the other. In fact, they all breathe the same way, so that a human being has no superiority over an animal. All of this is pointless. 20 All of them go to one place: all of them originate from dust, and all of them return to dust.
21 Who knows whether the spirit of human beings ascends, and whether the spirit of animals descends to the earth?