Everyone is so modest that they're giving semi-selfish reasons like:
It's for my ego (half joking).
I think teaching is fun.
It helps me learn.
I want to give back to the community that answered my questions.
Those are all true, but somebody just needs to say the real reason: it's for the greater good.
I post on math.stackexchange because helping people ...