Yes, software engineers are paid very well as a class.
Google made $21b in income in Q2 of this year. That's more than $100,000 per employee. $400,000 in profit per employee per year. I'd sure like to get paid another 400 grand annually.
Exploitation can also happen in ways other than pay. 24/7 oncall is unfortunately common in our industry, including oncall that is unpaid.