Is nostalgia a liar?

We all do it. Looking back on the past with rose tinted glasses. But is there ever any hint of truth to it? I often find myself reminiscing fondly on periods of my life where I know for a fact I was miserable