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.
In Moses' day the Spirit was given by the imposition of hands; and Peter imparted the Spirit by the imposition of hands. Upon you also, who are to be baptized, the grace will come. In what manner I do not say, for I do not anticipate the proper time.… We learn clearly in the book of Kings [Samuel], of Samuel and David, how by the Holy Spirit they prophesied and were leaders of the prophets. Samuel in fact was called the "seer." David says plainly: "The spirit of the Lord has spoken by me;" and in the psalms: "and do not take your holy spirit from me;" and again: "May your good spirit guide me on level ground."
Again, sometimes the prophet's mind is moved to speak something, so that he understands what the Holy Ghost means by the words he utters; like David who said (2 Kgs. 23:2): "The Spirit of the Lord hath spoken by me"; while, on the other hand, sometimes the person whose mind is moved to utter certain words knows not what the Holy Ghost means by them, as was the case with Caiphas (Jn. 11:51).
Summa Theologiae II-II, q. 173, a. 4: Whether prophets always know the things which they prophesy? I answer that (tr. Fathers of the English Dominican Province)
Catholic commentators
Fr. George Leo Haydock
Priest and commentator · 1774 to 1849
Explains this verse
Tongue. Nothing could more decisively prove the inspiration of the sacred books.
Haydock Catholic Bible Commentary (1859), note on 2 Samuel 23:2
To cite this page: The Summa, “2 Samuel 23:2”, https://thesumma.org/read/bible/ot/2-samuel/23/2. Every quotation names its source; where each text comes from is listed on Sources and corrections.