Homeless people in developed countries, are in almost every case (perhaps with the exception of the USA, I'm not sure) homeless due to mental issues and because they don't want to go into community housing. They aren't homeless due to a general lack of resources.