Whether presumption arises from vainglory?

Objections

Objection 1 : It would seem that presumption does not arise from vainglory. For presumption seems to rely most of all on the Divine mercy. Now mercy [misericordia] regards unhappiness [miseriam] which is contrary to glory. Therefore presumption does not arise from vainglory.
Objection 2 : Further, presumption is opposed to despair. Now despair arises from sorrow, as stated above (Question [20], Article [4], ad 2). Since therefore opposites have opposite causes, presumption would seem to arise from pleasure, and consequently from sins of the flesh, which give the most absorbing pleasure.
Objection 3 : Further, the vice of presumption consists in tending to some impossible good, as though it were possible. Now it is owing to ignorance that one deems an impossible thing to be possible. Therefore presumption arises from ignorance rather than from vainglory.