Yeah, you’re right that there’s a potentially steep initial cost. That’s outweighed by future benefits, though, and I’m pretty sure that both the EU and several NGOs have funds and projects specifically dedicated to partly pay for and ease that transition.
It’s worth a try, at least, when the alternative is turning away refugees.