Haruki Murakami said this quote

A person learns how to love himself through the simple acts of loving and being loved by someone else.