A nice fantasy. How does that negate or add to my comment that it isn't possible to have a "Star Trek economy" until our tech develops to the point where we have both unlimited resources and unlimited means to provide everything a person needs?
Even in Star Trek there was "Left" vs "Right", Idealism vs Logic. Kirk was the mediator between Spock's realism vs McCoy's idealism.
I'd love to save all the puppies and kittens of the world, but without unlimited resources, that isn't possible. A realistic solution is to work toward sterilizing cats and dogs thus preventing the problem from happening or, at least, reducing the problem to a more manageable size rather than gassing
2.7 million of them every year.
Human beings are obviously different from pets since the same "final solution" for problems can't (or shouldn't) be used and, more importantly, they have free will. Dictating to them like we do pets isn't
human nor humane.
Even so, it still boils down to resources. It's Lifeboat ethics. If you are in a lifeboat with 20 people but have provisions and space for 10 more without swamping the boat and there are 50 swimmers in the water, what do you do? Drown everyone or save 30 and let the other 40 drown?