"Big apocalyptic event and then, Nice Thing" is going to be an obvious plot for a story but Star Trek makes clear the difference between that and apocalyptic utopianism. Trek's look at the past say things had to get far worse than the time the eps were written, that every value and cause the writers supported has to fail miserably in their life, so everyone would realise they should live like in Star Trek.