I agree with this but I’ve found that the people making the decisions of who to hire usually have some incentive to hire from a certain country.
Those reasons could be kickbacks, family stake in the company, etc.
Edit: This is completely anecdotal. Grain of salt and all that.