"Cannot work" is a completely different matter.
But the problem with "welfare states" is that you can easily parasite on the system - which makes it unsustainable in the long run.
Borrowing or just printing money to pay pensions, for example, is complete insanity, yet many countries do so.