There is absolutely nothing wrong with performing good deeds in public, it is actually very rewarding when others start following by your example. However, doing good in secret helps us purify our intentions, avoid riya(hypocrisy) and allows us to strengthen our bond with Allah The All-Mighty. Hidden actions fill a believer's heart with wonderful tranquility and peace!
Generosity is a trait that is unfortunately undervalued nowadays. However, it is part of our Islamic identity hence it needs to be revived. As Muslims, we need to make it a habit to be generous to others with everything that we have been blessed with, we have to be able to give others with a big heart thus form a smile on their faces!
Nobody has been safeguarded in history in the same way as Prophet Muhammad SAW. Nobody knows how Jesus Alayhi salam or Rama looked like. But ask a young Muslim schoolboy studying even in a Convent school run by Christian Missionaries, and he will tell you minute details about his Prophet SAW. Every act of his is kept alive in the memory of Muslims.