Hedonic adaptation
From an evolutionary position, hedonic adaptation is useful. It helps control the effects of bad events. It makes bad events less strong. This protects people from difficult situations and helps them survive in the present.