Friends are often chosen for similitude of manners, and therefore each palliates the other's failings because they are his own.
Samuel Johnson (1827). “The Rambler”, p.167

Friends are often chosen for similitude of manners, and therefore each palliates the other's failings because they are his own.