The same place it comes from now...taxes.
Where is this not working thing you keep spouting coming from?
The less people working , the less tax revenue earned
This is the reason why Germany had the open door policy for refugees, there are not enough people working to support the economy