yes, I agree. It doesn't make sense. Even if they decide to abolish money and form a society without money. It's too idealistic / illogical if that concept work just because of the morality of the people. But I think that the concept can work. But it is not because of the morality of Human Being in the 24th Century. They still use the ancient concept of Punishment and Reward. And don't be ridiculous; The reward is not "prestige" or self satisfaction. If people willing to clean the sewer everyday just for self satisfaction and to be praised by other people, then be my guest. But nope, I won't do that. And I'm sure that the majority of the posters won't do that either.
I think the work in 24th century Star Trek is still the same as today or even in the ancient time. People work because they need to, not because they want to. In ancient time, people work because they need to survive. today, we work because we need to survive. So the people in 24th century Star trek is the same. They work because they need to survive. Not because they choose to work or not.
And just like today, work need obligation from the people who do that. Without obligation, it is not a work; it is a hobby. If being a tailor is just a hobby, then you don't have any obligation to finish the job that given to you. You can finish the job anytime you want. Because what? Because you don't have any obligation to finish the shirt that people ask you to make.
then so, what is the obligation for the people in 24th century Star Trek to their job? Prestige? Self Satisfaction? Nope. There is a more basic need that they pursue. It is the right to have something. Without a job, you won't have anything. You're just a beggar. Or even worse, You don't even have the right to live on Earth. So, you work for the Federation, the only boss on Earth.
If you work for the Federation, you will get many thing. If you're a simple sewer cleaner worker, then you'll get a small apartment and have the right to access some basic daily need. But if you're a Star Fleet Admiral, then you and your family will have the access of a lot of thing. Including to use the Government Starship to enjoy the holiday in Risa.
There is no poor people on Earth. Because every poor, lazy, less capable people has been transported to live in a fringe world, far away from Earth; as a colonist.
That's a bit un-trekky....... How Non Federation of them to deport all the poor people?
I'm sure Riker said they eliminated poverty in the years after the first warp flight. He said those words in First Contact.