This is a wise conclusion, that I think impacts many people. I know it does impact me. My personal way of going about it was that I was more invested into theoretical, ethical problems instead of my actual life problems that surrounded me. My tech life was vast and colorful, but my real life was barren.
Do I expect praise, kudos, fame, whatever? I do and that happens, I have been hired countless of times because of open-source. Even my friends (!) have been hired because of open-source stuff I wrote and they contributed to.
But the main motivation is internal - I just have to see it take shape. Like a writer who can't resist painting or a writer who can't stop writing.
Do I have regrets still? Yeah because I could have used the time for better things. But that can be said about any hobby.