Graham Greene said this quote

So much of a novelist’s writing … takes place in the unconscious: in those depths the last word is written before the word appears on paper. We remember the details of our story, we do not invent them.