Tehillim 103 talks about the importance of remembering all of the good Hashem does for us. It is a good remedy to read this perek with a request for keeping one’s memory intact.
What happens when we forget - Dovid HaMelech writes in this perek:
When I forget His forgiveness, I go about feeling guilty, ashamed, condemned. This is why I must remember that Hashem is a forgiving G-d. And He forgives all.
When I forget His healing, I go about feeling broken, wounded, unwell. This is why I must remember that Hashem is a healing G-d. And He heals all.
When I forget His redeeming, I go about feeling dejected, depressed, downcast. This is why I must remember that Hashem is a redeeming G-d. He doesn’t want me to live in the pit.
When I forget His crowning of me with love and compassion, I go about trying to earn what I already have, trying to prove what is already true, trying to desperately grasp for what Hashem is freely offering me. He honors me by loving me and giving me His compassion.
When I forget His satisfying of my desires with good things, I go about trying to fill my desires with whatever lies at hand, good or not. Hashem wants me to remember the good things He gives.