I've reasoned about this too.
The obvious moral thing to do about a species is to save them from an exploding sun, if they do not have the technological means to save themselves.
On the other side, "in fiction" it can be justified by a slippery slope: start by saving a civilization today, tomorrow you're patronizing another, after a decade you're relocating another because you need their healing gas... Oops!
The prime directive is acknowledging that the Federation (the human mind?) is too fragile not to succumb to such temptations.
If it's worth saying, but not worth its own post, then it goes here.
Notes for future OT posters:
1. Please add the 'open_thread' tag.
2. Check if there is an active Open Thread before posting a new one. (Immediately before; refresh the list-of-threads page before posting.)
3. Open Threads should start on Monday, and end on Sunday.
4. Unflag the two options "Notify me of new top level comments on this article" and "