His point may be that devs that are constantly job-hopping for better pay will "experience the same year 10 times" and not grow in skills.
I'm not sure I agree with that viewpoint.
Not devs, but junior devs in particular. Jumping 10 times a year may be for different reasons for experienced people, although some may see it as a red flag.
There is a huge difference between devs that do development for the money and devs that do development because it's engineering. Nothing wrong with this, but it's not a recipe for becoming great developers.
Would you want to work with code monkeys that do whatever they are told to keep/get job or craftsmen that care about what they do?
Why is it either or? Yes I work for the money first and foremost. I don’t learn anything that isn’t going to either make me more money by being better at my job, keep me competitive in the market, or make more money in the future.
Yes I started programming in the mid 80s in my bedroom. But I keep up to date strictly for the money.
Of course not, they should be comfortable to be able to pursue this, but I don't think it's a recipe for becoming great developers. They may become great managers, CEOs, etc.. but not craftsmen.
Would you rely on someone that started their tech career thinking about pay instead of engineering challenges, problems and solutions?