in which he teaches not to be concerned by arrogance when giving charity is publicized, because it may lead to people giving more charity
Charity should be given anonymously, one should not boast about giving charity. A person who boasts will not only not be rewarded but, as we know, may be punished. We are not, however, concerned by arrogance when giving charity is publicized, since it leads to more charity being given; people learn from one another and then contribute wholeheartedly. Despite that the person doing so might be suspected of arrogance, since the purpose is, in the long run, excellent - in that the people increase their giving of charity - it is permissible.
Pnei Yitzhak, Sixth Volume, Sermon 3 for Shabbat Shuva, p. 14b, Jerusalem, 1903