Laurence Sterne said this quote

We don't love people so much for the good they have done us, as for the good we have done them