Guaranteed income is not a solution. Sure housing and food are the most 2 important things but people need to feel they are needed in the society.
That can be achieved in different ways. The health of communities does not need to rely on earning money, there are plenty of other ways to build a vibrant society that still values the contribution of individuals.