 At times, the phrase “benevolence and righteousness” is used metonymically for all the virtues, but in some later texts, a benevolent impulse to compassion and a righteous steadfastness are seen as potentially contradictory. In the Analects, portrayals of Confucius do not recognize a tension between benevolence and righteousness, perhaps because each is usually described as salient in a different set of contexts. In ritual contexts like courts or shrines, one ideally acts like one might act out of familial affection in a personal context, the paradigm that is key to benevolence. In the performance of official duties, one ideally acts out of the responsibilities felt to inferiors and superiors, with a resistance to temptation by corrupt gain that is key to righteousness. The Records of Ritual distinguishes between the domains of these two virtues: 