Yes anyone who thinks engineers (HW or SW) are all paid amazingly needs to start taking in the wages of contractors too when calculating averages. Even many engineers working at FAANG HQs are lowly paid, abused contractors, making $50k-$80k.
I know personally of one big famous tech firm that has QA devs making literal minimum wage, because they are contracted from an outsourced firm. But 100% of those people's work is directed by and exclusively for the big tech firm so like all contracting it is an obvious paperwork scam to just mistreat their workers.