This is the reason UBI was historically popular among (some) libertarians, even though most current proponents in the U.S. probably come from some variety of left-liberalism or market socialism. Milton Friedman supported a version of UBI as a replacement for the welfare state, for example. His view was that if you think it's the role of the state to provide some minimum floor for standard of living, fine. But instead of trying to administer a dozen different programs with complex eligibility requirements and a whole bureaucracy behind them (food stamps, public housing, housing vouchers, Medicaid, etc.), it would be more efficient, less economically distorting, and less invasive into the lives of the recipients, to just pick whatever level of spending you're willing to put towards this goal, and give it out as unrestricted cash.