Putting everyone on welfare (UBI, etc.) is NOT an answer. It won’t work unless you mandate a drug program to also keep all those living on UBI with no productive work to do in a zombie state. I guess you could put valium in the water supply. People that come up with these ideas are people that don’t think it will affect THEM. It’s just “other” people that will need UBI.
If you want to giveaway something to keep these people from destroying your entire infrastructure, try giving everyone 5 acres of arable land. At least they will be able to feed themselves with their own hands.