There was some study in Germany that suggested that government guaranteeing a place to live and minimum income for everyone regardless of their circumstances was way cheaper than any means tested welfare system for all these reasons and also that it is just that much easier to administer.