“And, after all, it was a beautiful and curious world.”
H. G. Wells wrote this in The Time Machine, first published in 1895. It appears in Chapter V.
Where it appears
I saw the wild folly of my frenzy overnight, and I could reason with myself. ‘Suppose the worst?’ I said. ‘Suppose the machine altogether lost—perhaps destroyed? It behoves me to be calm and patient, to learn the way of the people, to get a clear idea of the method of my loss, and the means of getting materials and tools; so that in the end, perhaps, I may make another.’ That would be my only hope, perhaps, but better than despair. And, after all, it was a beautiful and curious world.
From the public-domain edition, read it free.