Socialism can't work if resources are scarce for number of obvious reasons.
It would be nice if it did work, because then we could all live happily ever after getting our food from replicators while banging the hottest teens
on the holodeck.
Of course, real life is not a science fiction novel. Resources are scarce. Goods take effort and time to produce. Robots can only help us make
more, they can't make new things all on their own.
Mises proved that socialism as an economic system can not work due to the
economic
calculation problem.
It is literally impossible for it to work at the level of a State centrally planned and owned system.
It can not work.
There is only one system that works, freedom.