What I mean is that it’s really easy to have a multi decade career in tech and look back, realizing that not only is none of the code you worked on still running anywhere, but none of the companies even exist. Frustrating on some level, even if you managed to avoid directly contributing to society’s problems.
Emt can be horrible on many days but saving a life lasts, well a lifetime roughly, more if the person has kids. But shit, even painting a fence is more of a “legacy” than most of the code that most people will write professionally. even more if you’re a land scaper. If someone removes the fence or the tree, there is a decent chance it was done for a better reason than resume-driven development, sketchy m+a to manipulate stock prices, etc.
Janitorial work is not necessarily intellectually stimulating though, knowledge work is not necessarily meaningful. Ideally every life would have some time and space for both, and if that were possible I think society as whole would also benefit.