Yeah, but it's bollocks. Too much grinding dulls your mental acuity. We're not talking about World of Warcraft where your score depends on how many times you press the button in the Skinner box. We're talking about real life where progress depends on understanding better ways to do things. A few years at a healthy, sustainable pace with work-life balance will leave you better at your job than a few years of demented grinding will.
But solid, foundational skills in any area of life do not make you irrelevant. Learn those, and you can adapt to whatever fashion is currently en vogue.
Software is no different, there's only the clamor of employers refusing to train, along with the copious free time of privileged white males making you feel like it is.
The media loves to tell you that you aren't working hard enough. Western culture defines itself by work, regardless of the consequences.