Sharon Salzberg said this quote

Contemplating the goodness within ourselves is a classical meditation, done to bring light, joy, and rapture to the mind. In contemporary times this practice might be considered rather embarrassing, because so often the emphasis is on all the unfortunate things we have done, all the disturbing mistakes we have made. Yet this classical reflection is not a way of increasing conceit. It is rather a commitment to our own happiness, seeing our happiness as the basis for intimacy with all of life. It fills us with joy and love for ourselves and a great deal of self-respect. Significantly, when we do metta practice, we begin by directing metta toward ourselves. This is the essential foundation for being able to offer genuine love to others