Memory, like excessive affection, is a double edged sword.
It can be a cure as well as a curse.
Memory can supply sweet solace or suck us into sadness and sorrowful moments or crowd us with excess of garbage.
Life is in our mind space.
Our main choices and decisions must be on what we need to prioritize to occupy that space.
Of course, while doing so, we need to factor in certain basic values and consciously chosen individual as well as social responsibilities without sacrificing compassion and gratitude for the sake of gratification of any kind.
If we are able to keep these in balance when we relate with others or things then we may not even require most of much hyped, contextually irrelevant and outdated socio-religious morals based on ideologies, doctrines and even scriptures.