In addition to the great points in the other comments, I'd also point out that remote work is a double edged sword. I remember in the early 00s when the .com bubble burst, and there was huge talk of software work being outsourced to India and China. It never really happened, for lots of different reasons. This time around, though, companies are much more comfortable with remote work, and Zoom/Meet/etc. has gotten muc…
At least 50% of the positions that I come across on hiring boards that allow for fully remote still have a qualifying regional clarification (U.S. only). It's probably a combination of complexities around accounting/taxes and time zones.
However if a company can support outsourcing they can facilitate much easier communication between the onshore and offshore dev teams by restricting offshore hires by LONGITUDE not LATITUDE - e.g. United States companies hiring from Central and South America for example.