Whether vainglory is opposed to magnanimity?

Objections

Objection 1 : It seems that vainglory is not opposed to magnanimity. For, as stated above (Article [1]), vainglory consists in glorying in things that are not, which pertains to falsehood; or in earthly and perishable things, which pertains to covetousness; or in the testimony of men, whose judgment is uncertain, which pertains to imprudence. Now these vices are not contrary to magnanimity. Therefore vainglory is not opposed to magnanimity.
Objection 2 : Further, vainglory is not, like pusillanimity, opposed to magnanimity by way of deficiency, for this seems inconsistent with vainglory. Nor is it opposed to it by way of excess, for in this way presumption and ambition are opposed to magnanimity, as stated above (Question [130], Article [2]; Question [131], Article [2]): and these differ from vainglory. Therefore vainglory is not opposed to magnanimity.
Objection 3 : Further, a gloss on Phil. 2:3, "Let nothing be done through contention, neither by vainglory," says: "Some among them were given to dissension and restlessness, contending with one another for the sake of vainglory." But contention [*Cf. Question [38]] is not opposed to magnanimity. Neither therefore is vainglory.