Victor Hugo said this quote

The supreme happiness of life is the conviction that we are loved; loved for ourselves—say rather, loved in spite of ourselves.