I don’t think it comes naturally to most, at least not at first.
Practicing mindfulness and instituting a habit of expressing/feeling gratitude are two intentional things that can help maintain perspective.
But to your point, if you don’t practice this intentionally, I think it will always fade.