Star Trek: The Next Generation
All Good Things..., Pt. 2
S7 E26:
Picard must stop an event in the future that will end the "threat" of humanity once and for all.
Starring
Denise Crosby, John de Lancie, Andreas Katsulas