Trek just hopes that man can manage to better itself.
This, I think, sums up the entirety of Trek. That humanity, or really any species, could manage to better itself without any help.
Which I hold to be positively stupid. Incidentally, this is one thing I rather like about Warhammer 40,000 (which itself is somewhat of a complete inverse to Trek in the first place)- that too much advancement, too quickly, without any thought to the eldritch horrors which may or may not exist, can cause utter destruction.
I mean, when the background of a setting is that one alien race became so advanced that they needed to do no work, and could pursue hedonism without end and at all times, and they end up producing a god of excess that wants to eat their souls, well.........I think that provides a very interesting, if fantastical, illustration as to why that kind of "technology can be used to better ourselves without end" mentality.