1. UBI would be too expensive if it were to replace welfare. You can't just keep the total welfare spending of $1.16T [0] and smear it across the whole population, since that would significantly reduce the support of families receiving welfare today (since you'd be distributing the benefit _universally_). If you wanted to keep the average payout to welfare recipients the same, you would need to dole out $65,200 (the average welfare benefit) to each of the 122 million households in America, balooning UBI spending to nearly $8T, over 1/3 of US GDP.
But even that wouldn't be enough, since many families depend on even more welfare benefits, since all we did was pay out the average. Suppose you paid out the 80th percentile instead (for sake of argument, assume that's $90,000), now your welfare bill is $11T, or half of GDP. Needless to say, you'd need a lot of taxes to pay for this, and the US would shoot up to the highest-taxed nation on earth.
2. Even this wouldn't be enough: the same social forces that push to expand and grow the welfare bureaucracy today would continue to exist, and I would expect them to cause the reintroduction of welfare even if abolished under the introduction of UBI. Families receiving direct financial support under UBI could (and would) starve, suffer costly medical expenses, and otherwise need additional support, and thus create demand for welfare afresh.
[0] https://www.heritage.org/welfare/report/largest-welfare-incr...