Sorry, but most employers essentially "game things": they extract as much value as they can out of you in return for the smallest amount of compensation they can get away with giving you. Yet I don't see you being critical of managers and CEOs, just other engineers. Managers love it when engineers getting into pissing matches about "passion", hackathons, which stack is most l33t, etc. (Erik Dietrich's term "carnival cash" comes to mind.) Meanwhile that business major 10 years your junior with a PMP certificate they got online -- and who couldn't code their way out of a paper bag -- just got promoted to senior project manager and gets to tell you what to do.
By 40, to put it in high-level abstract terms, the most important thing is figuring out what you need to be doing so you're earning the compensation you want/need and living the lifestyle you actually want to live. The "game" that other engineers around us in the marketplace are playing, so to speak, is the one having to do with optimizing compensation and quality of life. I can choose to walk onto the court and play a different game -- one with rules I personally feel are more noble, or something -- but that won't change the external reality around me, and nobody will care, except employers looking to take advantage of engineers willing to prioritize "passion" over things like "compensation" or "spending time with my kids" or "adequate health insurance".
Note: I'm riffing somewhat on the ideas David Sirlin presents in the first chapter of his book called "Playing to Win"; worth a read: https://www.sirlin.net/articles/playing-to-win
Edit: in fact, I'll just quote from Sirlin:
A scrub is not just a bad player. Everyone needs time to learn a game and get to a point where they know what they're doing. The scrub mentality is to be so shackled by self-imposed handicaps as to never have any hope of being truly good at a game. You can practice forever, but if you can't get over these common hangups, in a sense you've lost before you even started. You've lost before you even picked which game to play. You aren't playing to win.
A scrub would disagree with this though. They'd say they are trying very hard. The problem is they are only trying hard within a construct of fictitious rules that prevent them from ever truly competing.