Bad programmers spend years on silly problems that don't matter. No one cares if you as a programmer find a particular language to be beautiful. Language syntax doesn't matter. Having to type out boilerplate doesn't matter.
Runtime matters, scalability matters, resource usage etc.
I also spent some time working in PHP. I begged to get PHP projects. I would have rather been working in Python or Perl. Or Ruby or Scala or Java or whatever. But PHP supplies the bare minimum I need to do my job.
At the same time, I don't think the author is talking about languages. The author is talking about tools in general. And I've seen a variety of tools written in PHP that are very poorly architected. And there the author's premise holds true: I'm going to spend a lot of time working on that poorly architected PHP code until I make it better.
In fact, the good vs. bad programmer is something of a distraction. If a tool requires a lot of maintenance, it's a bad tool. If it's a bad tool, programmers will spend a lot more time dealing with it than with good tools.
Some syntax and language features suit different mental types better. This will affect things like motivation hence touching correctness, time to market and similar mental state affectable things.