Eckhart Tolle said this quote

Memories are thoughts that arise. They're not realities. Only when you believe that they are real, then they have the power over you. But when you realize it's just another thought arising about the past, then you can have a spacious relationship with that thought. The thought no longer has you in its grip.