I believe the answer is: selective retention
Selective retention refers to human tendencies to cherry pick the type of memory only to the things that suitable to our interest and values. People on average do selective retention as a coping mechanism to get rid of negative memories that cause a certain level of distress to our psyche.