The duty and role of a government is to act in the best interest of their citizens which that government represents.
The interests of outsiders are simply not relevant to that - they have their own government to represent their interests, which can and should enact policies that benefit them, and negotiate in international agreements policies that will help their citizens. If it's a win-win situation (which is the expected situation for skilled immigration visas) then sure, we should look at how the incentives are aligned; but when it's a tradeoff between the interests of your citizens and foreigners, then the government is elected to ensure that the interests of their citizens are facilitated - if need be, at the expense of others, to whom the government has no inherent duty whatsoever except the voluntarily undertaken commitments to certain international treaties. And if the government is implementing some policies that hurt their citizens to benefit others (which it may well do for all kinds of reasons - e.g. governments do humanitarian aid, which costs your citizens and benefits others, but presumably with support from the voters/taxpayers), then that has to happen due to the choice and consent of these citizens, otherwise they have all right to replace the government with something that will act as the citizens desire.