In capitalism wealth is distributed to the most productive, which is how it should be. This mechanism only works properly with sound money. Fiat money destroys this mechanism to the extent that wealth is mainly distributed to those close to the money printer.
In socialism wealth is distributed to based on what governments thinks is best, which is mostly a very bad allocation.

