In practice, socialism didnt work. But socialism could never have worked because it is based on false premises about human psychology and society, and gross ignorance of human economy.