Anecdotally, I joined the field because I thought it was fun. It was never about the money and, in fact, I actively sought early stage startups where the money wasn't great because of all the different skills I'd get to flex.
Code has always been the easiest part of the job so I don't much mind that LLMs are now writing code, but the problem is that it's also erased much of the problem-solving in the code as well. LLM code quality is improving and while I still feel like my attention to detail for code is better, LLM code is now "good enough" with such quantity that it makes it pointless to care that much anymore.
So, for me anyway, this has had the opposite effect where I now wonder if I'm no longer interested in this field after 20 years. Perhaps I should've cared about the money after all to go disappear into obscurity somewhere in retirement.
Your idea of pointlessness there is a crucial error.
The knowledge how a system works and why needs to be available and interpretable somewhere in human society.
If it's not, that system will diverge from requirements and cease functioning sooner or later.