My signiture sums it up for me:

You must be prepared for both "The bad and the good".

I try to embrace the memory of the joys that we shared as opposed to dwelling on the bad things that resulted in the loss of the relationship.