Alexander Pope said this quote

If it be the chief point of friendship to comply with a friend's notions and inclinations he possesses this is an eminent degree; he lies down when I sit, and walks when I walk, which is more that many good friends can pretend to do.