Slight tangent, but I hear this all the time and I think it's total BS. Yes, if you're working at a big tech company and are gunning to continually move up the ladder, it's true for a while (eventually soft skills become more important for most), but I know plenty of developers who make a competitive salary, even in HCOL areas, and don't look at code outside of their 9-5 jobs.
Sure, they're not making FAANG salaries, but they're making more than enough to live comfortably on. I can name three different ex-colleagues at three different companies all making well over 100k a year and they're all still writing JQuery.
If you're not striving for the top, there are plenty of development jobs where you can make an above average salary and keep work at work.