I hate how Star Trek treat the prime directive especially after the original series.
For anyone don't know, the Prime Directive is the most important rule of the Federation in Star Trek. Baiscally the rule is that the Federation and its officers cannot interfere in internal matter of other race and cannot contaminate or interfere with the nature development of culture of other pre-Warp civilizations. The main purpose of the prime directive is to prevent colonialism and exploitation of more primitive civilizations while keeping the Federation out the internal conflicts of other races, letting the other races deal with their own political and culture issues.
The Prime Directive sound good on paper and the reason for it to exist is noble and good. The problem is how the Federation impliment the Prime Directive throughout the series and the justification these implimentations.
In the original Star Trek series, there is an episode where the crews found a generational ship where the people had forgotten that they were on a ship and they treat the ship computer as a god. The problem is the computer was malfunctioned and the ship was on it way to crash into a Federation colony. Kirk, McCoy and Spock debated if they should reveal this to the inhabitants. They agreed that it would violate the Prime Directive as they were interfere with these people culture but that was seen as better than let these people to just all die out. So here we see that the Prime Directive exist as more a guideline for how contact with aliens should be handled but saving lives should take priority over trying to preserve a culture, especially if trying to preserve a culture would lead to that culture demise.
The problem arise in TNG and later series. In TNG, there are a couple "Prime Directive" episodes where the crew usually come to a planet with primitive civilization and the people down there are facing some existencial crisis that could only be solve by the Enterprise crew intervention. The justification for not helping always boiled down to "we shouldn't play god", "we don't know the consequence of our action in the future" and "it was the natural order of thing and we shouldn't intervene". Picard even said that in the whole human history, no matter the intention, contact between a more advance civilization and a less advance civilization always lead to disaster and that is why they shouldn't help. Honestly, all of those reasons are bullcrap.
Picard logic is extremely flawed becayse throughout history, when contact between a more advance civilization and a less advance civilization happen, it almost never happen because of one side want to help the other, it's always because of personal gain and the "help" often come with some conditions. Individual can help people from less advance groups our of the goodness of their heart but institutions like countries or corporations care first and foremost about "what in it for us?" So Picard argument is bullshit because the reason why contact between unequal civilization always ended up in disaster is because the stronger side always aim for exploitation first and foremost. However in Star Trek, the Federation is portrait as the shining example humanity and always do things for the right reason. So no Picard, just helping them doesn't mean you will eventually enslave those people because you and your crews never actually care about exploit these people in the first place.
Next we have the "natural order" argument. Now replace "nature" with "god" and you will get the "god work in mysterious ways" argument. The crew always said that they should not interfere with the "cosmic plan of the universe". Then I can ask the same question back: what if it is the cosmic plan for you guys to show up and help these people? The characters in the show seem to think that there is some cosmic plan and that it would be hubris to intervere with the cosmic plan. By that logic the humans should stop having doctors as doctors entire job is to defy nature and prolong someone life.
And then we get to the "unknow consequences" reason. This bring us to the Voyager era. There is one episode where Tom Paris and Janeway stranded on a planet where the natives are using a technology that could wipe them all out. Janeway forbid Tom Paris to warn these people . When Tom pointed out that changing culture is better than complete destruction, Janeway basically told Tom to shut up and this is an order from his captain. No debate. Just follow orders. Don't question anything. The Prime Directive was then basically a dogma. You not suppose to question and debate with it, you just need to follow it. Janeway view that they can't foresee what the future might lead if they help these lesser culture. What if these people due to the Federation influence become a galatic conquest empire? And again, by that logic you can ask what if those people turn into a race of peace-loving space explorers due to the Federation? The Federation basically rather let 10 peaceful civilizations die out than let one bad one raise up. They let the unknown future dictate their actions, prevent them from stopping known future disasters.
And finally, we get to Enterprise and the infamous "Dear Doctor" episode where the captain and the ship doctor let a species die out despite having the cure for their disease. Not only the episode has some of the worst misconception of evolution (a species can only evolve and advance if the other dominant species on the same planet all die out), it also justify the genocide of an entire species and then pat the characters on the back for such a great job of not helping. The main argument from the doctor character is that this is this planet nature order and they should not intervere, let the majority die out so the minority could rise up and take their rightful place as the superior species. That should like something an Eugenic supervillain would say, not the heroes who suppose to represent the bright future of humanity. Oh and better yet, in a later episode, the heroes basically intervere to save the native of another planet from an internment camp because they like the natives. So it not okay to intervere to save another species because that would interfere with nature but it's okay to intervere in a civil war because you like one particular group.
My point is that the Prime Directive should be a guideline, not a concrete, inflexible rule that the officers have to follow to the teeth even when it is in conflict with morality. What the Prime Directive actually is now is a way for the character and the Federation to avoid responsible. Helping mean becoming responsible for the people they save, for both the good and the bad. But by inaction, the Federation basically can wash their hands without looking like the bad guy for letting billions died out.