This is much harder to do when you 1) have dependents, 2) are bad at interviewing, 3) don't have time to interview, 4) don't have in-demand skills and/or 5) are not financially stable.
which many people - even senior developers - aren't because housing and other CoL expenses eat up wages everywhere, and companies exploit that as they wish.
Additionally, at least in the US and parts of the EU, the complications of legalized slavery aka H1B / other work visas make protesting against bad conditions much harder.
A worse situation does not trivialize a bad situation.
Not everything bad related to work is slavery.
Maybe try a longer commute or a roommate before whining about your cost of living
W.r.t. immigration- you're certainly right. I would be terrified to rock the boat if my employer could put me at risk of deportation