Passage
Who knoweth if the spirit of the children of Adam ascend upward, and if the spirit of the beasts descend downward?
Who knoweth if the spirit of the children of Adam ascend upward, and if the spirit of the beasts descend downward?
Ecclesiastes 3:19 Therefore the death of man, and of beasts is one, and the condition of them both is equal: as man dieth, so they also die: all things breathe alike, and man hath nothing more than beast: all things are subject to vanity.
Ecclesiastes 3:20 And all things go to one place: of earth they were made, and into earth they return together.
Ecclesiastes 3:21 Who knoweth if the spirit of the children of Adam ascend upward, and if the spirit of the beasts descend downward?
Ecclesiastes 3:22 And I have found that nothing is better than for a man to rejoice in his work, and that this is his portion. For who shall bring him to know the things that shall be after him?
The verse centers on "Spirit", "knoweth", "children", "adam", "ascend", "upward", and "beasts". It is saying that the verse draws attention to "Spirit" and "knoweth", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 20's "And all things go to one place..." into verse 22's "And I have found that nothing is...", so "Spirit" and "knoweth" belong inside that flow. In Ecclesiastes context, the local focus is covenant, worship, and faithfulness.
A plain takeaway is to answer the verse's own emphasis on "Spirit" and "knoweth" with trust shaped by these words, not by a vague optimism outside the passage.