Julian Barnes said this quote
“ Memory is identity. I have believed this since – oh, since I can remember. You are what you have done; what you have done is in your memory; what you remember defines who you are; when you forget your life you cease to be, even before your death. ”