Socialism and even communism can work but only in very small communities where each person knows all of the other people.
Meaning that it can work okay in small African villages, and it works perhaps even great in convents and monasteries.
But once it’s so large that people don’t know who they’re working to support then it quickly falls apart, it requires force to maintain it, and it rapidly devolves into an evil kleptocracy.
In convents and monasteries people have volunteered to take part in the Socialism.
When you get into large societies you inevitably have large numbers of people who don’t want to volunteer. This is where force and oppression come into play.