I think a lot of the time when this debate occurs (which, at this point, literally every single day I see something about this) UBI is almost always the contention point but I feel like that's really not the end-all... Like, sure, say there's a miracle and we have UBI get instituted. I think that is maybe 25% of the solution. The other problem is now you're going to have an entire class of people basically living without a purpose. Yeah, I get it, they can go and "explore their passions" and focus on "creative works" or whatever BS people persuade themselves into thinking the vast majority of society would want to do, but realistically I think there would be a huge psychological breakdown in people now living without a fundamental purpose in society.

Somewhat related to that -- I was just this weekend watching a YouTube essay about PTSD in knights back in the medieval times, and the main point made in the video is that the psychological impacts incurred by the knights after battle were not just from seeing fucked up shit... the most apparent and serious cases of "PTSD" occurred when a knight was injured enough on the battle field resulting in them no longer able to be soldiers. Their entire purpose in the world got stripped away resulting in serious psychological stress. I think that same issue would apply to many people today (lawyers, engineers, investment bankers, etc) who would no longer be able to practice their craft. (This is the video for reference, was a good watch https://www.youtube.com/watch?v=849dmdc-Qf8)

I understand the counter argument to this is going to be some anti-capitalist rhetoric like "Well people shouldn't live to be workers and that's fucked up that they have live that way!" but IMO, some people like what they do and don't want to be made useless. (Not implying that is what you were insinuating, but just in a broad sense I that genera of argument doesn't make sense to me)