The main reason Star Trek is a utopia isn't philosophical or ethical, it's sheer utilitarianism: Everyone is competent at their job because there's no reason for anyone to have a job they're not good at. Nobody needs to fear being unemployed because money isn't necessary to live.