Yes, what do you suppose is the meaning of a country? Whats the point of country if there is no safety or benefit for a person.
The homeless is also a very broad term. I think this sort of article doesn’t refer to people that are able and willing to work, but have to live from their cars. It’s usually about people that are often incapable of being a functioning member of society, beyond their housing status.
The best way to help these people is not to give them “benefits”. It’s to permanently place them in facilities that can afford them a humane existence. There’s no reasonable amount of “benefit” you can give to some of these people otherwise.
Not saying nordic countries are some sort of perfect countries, but it does remind you that if country does not care about you, why should you care about the country.