That’s a fair point, but I am not sure how it is relevant, unless devs at mom&pop shops/legacy businesses/etc. and those outside of the US work more than the US lawyers (or any other highly-paid white collar job) or have barriers to entry similar to those. From those I know working at those places (and from working at a legacy business myself at one point, a big bank), that didn’t seem to be the case at all. At startups, sure, but that’s just a high risk/high reward type of a deal, and they still don’t have almost any barriers to entry either.
Is it the case outside of the US? Genuine question, because I am not super familiar with close reality dev jobs outside of the US. But from what I saw, it didn’t strike me as an obvious thing that they get ground to the bone or have high barriers to entry (as opposed to other highly-paid white collar jobs).