Free money, housing, and healthcare for everyone is also the law here in Germany, which is why we get flooded by illegal immigrants too..
..and that's why these Western European welfare states are collapsing. You can only afford something like this if your population overwhelmingly consists of educated, skilled people with a strong work ethic who would never voluntarily sign up for welfare. Once you allow millions of foreigners into the country who are neither educated nor skilled nor have a work ethic such systems start to collapse.