That short life-affirming quote structured like a pithy aphorism is hiding the true debate that motivates it.
The real discussion before that quote is this:
Some employers prefer programmers that like programming outside of work. For the other programmers that would rather constrain coding work to 40 hours a week, they feel that employer preference is unfair.
So yes, of course it's fine to want to do non-coding activities outside of work... but that's not what the real frustration is about.
Unfortunately, there's nothing you can do to prevent some employers for preferring coders who code outside of work. It's been that way for decades. On the other hand, some employers don't care about personal coding projects so that culture may be a better fit.