Girard showed his public spirit personally as well as financially. During the yellow fever epidemic in Philadelphia in 1793 and in 1797-1798 he took the lead in relieving the poor and caring for the sick.[33] He volunteered to act as manager of the hospital at Bush Hill and with the assistance of Peter Helm he cleansed the place and systemized the work.

On his death in 1831, Girard's estate, the greatest private fortune in America, was valued at about seven and a half million dollars, and his philanthropy was again shown in his disposition of it. Being without heirs, as his child had died soon after its birth and his beautiful wife had died after many years in an insane asylum, his heart went out to poor and orphan children. In his will he bequeathed $116,000 to various Philadelphia charities; $500,000 to the city for improvement of the Delaware River front, streets and buildings; $300,000 to Pennsylvania for internal improvements, especially canals, and the bulk of the estate to Philadelphia, chiefly for founding and maintaining a non-sectarian school or college, but also for providing a better police system, making municipal improvements and lessening taxation. The college was given for the support and education of poor white male orphans, of legitimate birth and character, between the ages of six and ten; and it was specified that no boy was to be permitted to stay after his eighteenth year, and that as regards admission, preference was to be shown, first to orphans born in Philadelphia, second to orphans born in any other part of Pennsylvania, third to orphans born in New York City, and fourth to orphans born in New Orleans.[34]