Recognizing and admitting it is the key. You probably grew up around pessimistic people so you do it naturally. You need to adopt a new philosophy where you look for the upside of everything - and, yes, everything has an upside if you look hard enough. I turned my thinking around when I just started accepting things as they are.