by H. G. Wells
from Prismatext
From Wikipedia:
The Dream is a 1924 novel by H. G. Wells about a man from a Utopian future who dreams the entire life of an Englishman from the Victorian and Edwardian eras, Harry Mortimer Smith. As in other novels of this period, in The Dream Wells represents the present as an "Age of Confusion" from which humanity will be able to emerge with the help of science and common sense.