If you remember that something bad happened, and you can figure out why, then you can try to avoid that bad thing happening again. That’s the purpose of memory. It’s not “to remember the past.” It’s to stop the same damn thing from happening over and over.