Close welfare and open a new system called "The service".
Anyone and everyone can serve, work is always needed, and in turn for you service, you are fed and housed. Service workers would also be the ones doing the cooking, and building.
It would be a program that would teach trades, feed people, house them, and help build a stronger nation.
The service could be used to get almost any job the nation needed done, from simple cleaning to road work.
And those who work in the service, would be learning where they work, and can use the service as a work reference, if they desire work outside of the service.
the homeless are given jobs food and houseing, and the nation gains more than it loses.