An example of comparative advantage: it doesn't make sense for a $500/hr lawyer to do pro-bono work for the poor. It would make more sense to work for that hour and use the income to fund 10 $50/hr lawyers. The benefit would be much higher for those in need.
So my point is that charity isn't necessarily the best way to give back to society.