This verse is drawn from Generations,athe last Star Trek film. In this scene, Kirk has just been confronted by Captain Picard, who is trying to get him to come and help rescue the new Enterprise. Kirk is hiding out in the Nexusa sort of energy field that creates a fantasy world where all your dreams come true. Kirk originally tells Picard to screw off he plans to stay in the Nexus and get engaged to the woman of his dreams. Later, in an epiphany reached while horseback riding (we're not making this stuff up, by the way) Kirk realizes that he's living in a fantasy world, and opts to go help out Picard.