I don't think engineering gets paid well compared to software. And by engineering I mean any physical forms of engineering that doesn't fall into "software engineering". The advice seems pretty accurate to me.

In that analogy it also works that in that the level of cognitive difficulty is most challenging @ physics theoretical work --> engineering --> software. Inversely proportional to pay check size. Though a physicist can probably figure out software whereas the other way is a tougher slog.