Quoted word for word, in order of authority: the Church's councils, popes and catechisms first, then the Fathers, then later saints and Doctors, then Catholic commentators.
Catholic commentators
Fr. George Leo Haydock
Priest and commentator · 1774 to 1849
Explains this verse
Who knoweth, &c. viz. experimentally; since no one in this life can see a spirit. But as to the spirits of the beasts, which is merely animal, and becomes extinct by the death of the beast, who can tell the manner it acts so as to give life and motion, and by death to descend downward, that is, to be no more? Ch. --- Few are able to prove that the soul of man is immortal rather that that of beasts, since the bodies of both are subject to the like inconveniences. The objection is answered C. xii. 7. C. --- The difficulty of answering is intimated by "Who?" &c. Ps. xiv. 1. M.
Haydock Catholic Bible Commentary (1859), note on Ecclesiastes 3:21
In the Catechism of the Catholic Church
The Catechism (1992) cites Ecclesiastes 3:21 in these paragraphs.
God's Spirit and Word in the Time of the PromisesCCC 703
To cite this page: The Summa, “Ecclesiastes 3:21”, https://thesumma.org/read/bible/ot/ecclesiastes/3/21. Every quotation names its source; where each text comes from is listed on Sources and corrections.