A vice in common can be the ground of a friendship but not a virtue in common. X and Y may be friends because they are both drunkards or womanizers but, if they are both sober and chaste, they are friends for some other reason.
Quote by W. H. Auden, English poet (1907–1973), about virtue and reason. One of 431 W. H. Auden quotes on Quotlr.