I retired from industry to teach high school.
A really big part of why I did this is because I wanted to help. I make basically nothing. There are many more personally lucrative things that I could do that help society and people less.
But there's millions of ways that I could help. I didn't maximize my impact, I don't think. I did one that was a confluence between altruism, feeling good to me, conferring other advantages, etc. In other words, altruism was not the sole factor in my decision -- just a very large one.