Victor Hugo said this quote

The greatest happiness in life is the conviction that we are loved - loved for ourselves or rather loved in spite of ourselves.