Turns out if it's more economically efficient to simply import skilled workers, or outsource, then that's what will happen. Breeding and educating your own citizens in a first world country is very expensive. So you don't do it.
The only reason not to do this is national preference. Economically it makes sense, on a national level it makes sense, individually it's genocide.
It's petty and anti-nationalist to demand that your nation destroy it's own economy to fit your arbitrary political mold.
No, you don't need to accept migrants. You need money. You can get money in many many ways.
The best way for this to happen for the general prosperity of citizens is for the state to enrich themselves from the work of others, non citizens, and give that money to citizens. This is what Norway has done through its sovereign wealth fund.
No, you don't have to.