You can't change the past, but you can shape the future.
The act of writing is an act of optimism. You would not take the trouble to do it if you felt it didn't matter.