(b) Confidence does not exclude doubt about one’s own dispositions (“It is not for our justice that we present our prayers before Thee, but for the multitude of Thy tender mercies”); on the contrary, the prayer of the Pharisee was not heard, because he trusted in himself (Luke, xviii. 9). Neither does confidence in prayer mean that one may ask unconditionally for temporal things (see 2161 c).

2164. Intention and Attention.—Attention is the voluntary application of the mind to that which is done, or the consideration or advertence of the mind given to an act. It differs from intention, which is an act, not of the reason, but of the will, consisting in the purpose to perform an act. Prayer requires both intention and attention.

(a) There must be intention, for prayer in its origin is an act of the will and it pertains to religion only because of the devotion by means of which it is elicited. A man who, while reading aloud from a novel, recites the words of a prayer contained in the novel, does not pray, for his intention is pleasure or instruction, not worship. And even one who says or answers prayers attentively during services does not really pray if his motive is not one of religion. (b) There must be attention, for prayer is of its nature an act of the mind (see 2154). A parrot or a phonograph is not said to pray when it repeats the words of the Our Father or Hail Mary.

2165. The Intention Required in Prayer.—(a) An actual intention is had when one either expressly or implicitly wills to offer a prayer, as when one says internally; “I will now say a prayer,” or when without such express act one deliberately performs that which is a prayer, making internal acts of faith, reciting the Rosary, reading from a prayer-book, etc. This kind of intention is necessary at the beginning of prayer, and is the best that may be had during the course of prayer.

(b) A virtual intention is had when one is occupied in prayer on account of an actual intention previously formed and not retracted, but here and now, on account of human weakness, one is thinking of indifferent things impertinent to the prayer and its purpose. This kind of intention continues unless withdrawn directly by contrary intention or indirectly by the performance of acts inconsistent with prayer. Virtual intention suffices during the course of prayer, for a continuous and uninterrupted actual intention is humanly impossible. The more the mind struggles to keep the thought fixed on one object alone, the more do other thoughts arise to distract, as experience proves.

(c) An habitual intention is had when one is occupied in prayer, not on account of any actual intention previously formed, but on account of a propensity or inclination resulting from previous acts. This is not properly an intention and it does not suffice for prayer, since with it the acts performed do not proceed actually or virtually from any determination of the will. Thus, a person who is asleep or intoxicated is not said to pray when he mechanically repeats well-known words of prayer, for his will has no part in those words, any more than the will of the somnambulist has part in the dangerous walks he takes.

2166. The Attention in Prayer.—(a) By reason of its object, attention is external or internal, according as the mind is taken up only with the externals of prayer (i.e., the exclusion of external acts inconsistent with prayer and the proper bodily posture) or with the things internal to prayer (i.e., the words, sense and purpose of the prayer). Internal attention is called verbal or superficial when it is directed only to the words, as when a person who does not understand the meaning of a prayer says it carefully so as not to mispronounce the words; it is literal, when it is directed only to the sense, as when a person who says a very obscure prayer pays close attention so as to follow its meaning; it is spiritual, when it is directed to the purpose of prayer (i.e., the worship of God by an act of religion), or to the objects of prayer (i.e., eternal salvation or the means thereto, such as grace and the virtues, the mysteries of religion, etc.).

(b) By reason of its subject, attention is either perfect or imperfect. Perfect attention excludes every distracting thought, even such as are involuntary; imperfect attention excludes voluntary but not involuntary distractions.

2167. Acts that Exclude External Attention.—What external actions are inconsistent with external prayer and exclusive of external attention?

(a) Those acts exclude external attention which either from their nature (on account of the great mental application they demand) or from the weakness of a person’s mind (for it is not everyone who can like Julius Caesar think on several things at the same time) make it impossible to have recollection in prayer when those acts are being performed. Acts of this kind are reading about other matters, painting, writing, carrying on conversation with those around, boisterous laughing, etc. But if the one who prays engages in these acts inadvertently (e.g., if a person reciting the Breviary does not notice that he is giving considerable attention to an inscription or advertisement on an adjacent wall), the distraction is merely involuntary and inculpable.