Pollyanna principle; Pollyanna effect
A psychological tendency for people to remember pleasant items more accurately than unpleasant ones. Named after the optimistic character Pollyanna.
The Pollyanna effect is a psychological concept that explains the bias toward optimistic memories.