There’s quite a gap between UBI and a general notion of ‘socialism’, by which I assume you mean Communism as seen in Russia/China etc.That sounds like a line straight from Ragged Trousered Philanthropists.
Your solution therefore is [the failed notion of] socialism?