All Good Things 1 and 2

Star Trek: The Next Generation
Season 7, Episodes 25 and 26
These episodes would be the final ones of the Next Generation series. It is hard for a finale to truly hit everything you want as a fan but they managed to do well. The story revolves around Q and Captain Picard. Basically, Picard has to jump through time while an anomaly forms that is defying causality. All of it is yet again a test by Q on Picard. The idea is that Picard wants to demonstrate the potential of humans to the Q Continuum.
The way Picard is told to prove this is by finding out the root cause of an anomaly and stop it before it ends up destroying all of humanity. It ranks to this day as one of the best Star Trek episodes in history and allowed for the cast to go off and make movies rather than focus on numerous television episodes. “All Good Things“ must indeed come to an end, but all good things do have to start somewhere too.