But Star Trek doesn't make sense at all.
Here's the wonderful post-scarcity Federation! No-one has or needs money!
Except the Ferengi and everyone else, of course.
The interface between those who have unlimited resources (after all, that's what "post-scarcity" means) and those who don't is just handwaved away.
In reality, such an interaction would result in total war.