I think when people are planning for the future, they need to be realistic about what actually may happen rather than hoping for their preferred ideological outcome to happen. Don't write yourself off from ever getting a job, but at the same time understand that the job market of the medium term future will probably look radically different from the job market of the past. Very little of it will have anything to do with location. In fact, most jobs will probably be in the same places they've always been, it's just likely you won't get paid as much to do them. There will be more people vying for them. And they won't be quite as secure as they used to be.
Nor are they on the same timezones.
Nor are they comparatively cheap to fly out, if needed.
There is a big reason why offshoring has been tilting more and more to Mexico City... or Alabama.
Keep in mind that If I want to hire:
A smart graduate from EPFL, Polytechnique or ETH Zurich who interned at CERN and has contributed to the Linux kernel for a software engineering job at a unicorn startup OR
A grad from a second tier "technical college" in India with a visa refusal rate of ~90% for a job doing manual UI testing and QA for a body shop [0]
my only path forward is H1! They'll both be listed as "computer related occupations" and apply for the same visa in the same quota. Does that make any sense to anyone?
Of course, my odds of getting a lottery spot for the former are dramatically lower, since we all know body shops and consulting firms won't hesitate to file 4-5 applications per seat they plan to fill out (so one can hopefully get a spot in the lottery and not get any RFE).
[0] https://www.nbcbayarea.com/news/local/silicon-valleys-body-s...
The legitimate users of the H1B program are really looking for specialized skills and hard-to-find talent. Especially for software, it's not even cheaper to hire qualified candidates from abroad...