Also, many builders, plumbers and other tradesmen run their own businesses and are earning much more than average.
Because everyone else has high salaries, it drives house prices and living costs to insane levels.
It's a similar situation in most non-US countries through. It's even worse in Europe where software developers have to compete with people from developing countries (that was true even before the mass influx caused by Ukraine war) - They have it better because they can arbitrage the international cost of living differences to buy up cheap real estate in their home countries (which, as a non-citizen, I cannot do due to regulations).
I had actually relocated to EU (Germany) to try to improve my situation but was shocked to find out that things were even worse than in Australia due to higher immigration (more competition from countries with lower cost of living = lower salaries). It was so bad, I had to move back to Australia.
At least in Australia the class differences aren't so significant; being at the bottom of society doesn't feel as bad.
Every minute of software development makes you feel like you're never good enough (the compiler keeps reminding you). Also, on the company side, you're always made to feel like a replaceable cog in a big machine, not to mention that salaries are generally limited and under constant threat of outsourcing... To rub salt into the wound, most companies don't even care about code quality; they will happily pay 10 mediocre engineers to do the job of 1 good engineer (for 10x the total price) and end up with worse results. Hiring has been broken for decades. They don't care about coding efficiency or maintainability when they have a monopoly.