Thinking of happy memories sounds like a perfectly healthy activity to me, TBH
IMO it’s a problem if doing that stops you from making new happy memories. Life is for living.
It sounds like you're not there yet, but when you are, I hope you will be less judgmental of us old folks who simply care to reminisce.