I am not a big fan of the Star Trek universe. The plot of the Star Trek always borders on extreme absurdity. One particular episode that I have always thought illustrated this is the episode in which a planet did not use birth control or abortion. As a result the entire surface of the planet was nothing but standing room only people. The episode was criticizing pregnancy and science that extends lifespans! The answer Kirk gives the people is “population control” not “hey, there is a great universe out there will millions of planets… why don’t you move?”
I don’t think I need to say more: