Whether attention is a necessary condition of prayer?

Objections

Objection 1 : It would seem that attention is a necessary condition of prayer. It is written (Jn. 4:24): "God is a spirit, and they that adore Him must adore Him in spirit and in truth." But prayer is not in spirit unless it be attentive. Therefore attention is a necessary condition of prayer.
Objection 2 : Further, prayer is "the ascent of the mind to God" [*Damascene, De Fide Orth. iii, 24]. But the mind does not ascend to God if the prayer is inattentive. Therefore attention is a necessary condition of prayer.
Objection 3 : Further, it is a necessary condition of prayer that it should be altogether sinless. Now if a man allows his mind to wander while praying he is not free of sin, for he seems to make light of God; even as if he were to speak to another man without attending to what he was saying. Hence Basil says [*De Constit. Monach. i] that the "Divine assistance is to be implored, not lightly, nor with a mind wandering hither and thither: because he that prays thus not only will not obtain what he asks, nay rather will he provoke God to anger." Therefore it would seem a necessary condition of prayer that it should be attentive.