Writing software is a hobby I enjoy unconditionally. Seeing people find utility in the software I write makes me happy. Seeing people derive happiness from it, for free, makes me happier. Been doing it for about two decades now.
Thankfully, I don’t need to make a living from my hobby FOSS projects. If I had to, maybe it wouldn’t feel like a hobby.