Maybe in some sectors this is true, but not in the process control industry. Here experience is valued, particularly because if you fuck up the code badly in a worst case scenario someone might die, but more likely your client will lose hundreds of thousands of Euros...per day.
New technologies are wonderful, but you can sink a shitton of resources in the newest trend and five years later be have a maintenance albatross around your neck. Again, maybe this is just my industry.
I've been coding for 35+ years, and had my own company for 29+ of them. I still do some coding because that is what I like to do, and it is good to have practical experience of how your software is being made and used to sell the installation.
BTW: I'm old enough to have driven around in a refinery in a Renault 4 (the car in the title photo NOT being a Mercedes-Benz).