The virtue of virtue is humility; for, all the virtues derive from a prior proper recollection of the true order of things, in which God is foremost of all. Overweening pride then – such as we indulge whenever we worry about our selves, or their reputations, or form our acts first in respect thereto – is the vice of vice.
As to the ostention of virtue, then:
Take heed that ye do not your alms before men, to be seen of them: otherwise ye have no reward of your Father which is in heaven. Therefore when thou doest thine alms, do not sound a trumpet before thee, as the hypocrites do in the synagogues and in the streets, that they may have glory of men. Verily I say unto you, They have their reward. But when thou doest alms, let not thy left hand know what thy right hand doeth: That thine alms may be in secret: and thy Father which seeth in secret himself shall reward thee openly.
Matthew 6:1-4
Humility is social chastity. Humility lies not in a recusal from the assertion of the truth as one sees it, but rather in a refusal to preen.
Also this: alms that cost you nothing are not alms in the first place.