FYI if you think devs are overpaid, it's generally in SV (and even there, they make average considering the cost of living - a good idea is to look at the end of month savings instead of earnings).
With that said, we are getting paid a lot less than the value we add - seriously - the entire world around you works on software and if it were to stop for even an hour, we'd have a lot of issues - so with that in mind - we should be getting paid more.
Now i know you'll say a CRUD developer adds no value, but I could argue that neither do most lawyers or traders - but they get paid a lot more no?