Being entertained compels a lot of people. You can't make a living doing it. Programmers had the luxury to talk of passion projects because you could find something you liked and still made good money (Again talking of the average programmer, quoting one extreme side would be neither here nor there). People don't work in warehouses because if compels them.
If all the things that compel you don't make money, you should introspect instead of thinking about the glory days of what programmers did.
There is a large gulf between “LLM’s making my skills less valuable” (which I don’t even think is the case) and being jobless, not able to make a living.
The OP is not going to be jobless anytime soon if they have the skills that they say they do. Hell. Someone with less knowledge who just leans on a LLM isn’t as capable. HUMAN experience is valuable.
The OP may not become jobless, but would lose motivation to learn more (same as a recent post on HN about a designer demotivated due to their work now centred around midjourney).
As an analogy, people in robot (I use the term in a loose way for machines) assisted warehouse find the work far worse than one without robots, because the job becomes soulless and centred around the robots, making it much less fulfilling.