Libertarianism is about people being free to choose what to do with their money. If they choose to give to charity, light cigars with banknotes, spend it on blackjack & hookers, invest in space flight, etc., it's all their right to make that choice.
It isn't about the relative virtue of doing this or that.