Well, Spock being fictional, the proper attribution goes to the scriptwriters who actually strung those words together but even at that, those authors more than overtly and subtly credit the concept in their TWOK to Charles Dickens who explored it in many of his writings including A TALE OF TWO CITIES which was featured on screen, and his more well-known A CHRISTMAS CAROL.