The idea is that you might be an inspiration to someone or that they'll fill better about the world.
However, it seems like this could lead to inflated ego AND/OR doing the good deeds for notoriety and praise?

EDIT: maybe this belongs in "Engaged Buddhism" or "Ethical Conduct" subforums, sorry.