Inherent in loyalty is the feeling that devotion to the group and promotion of the group's wellbeing is the right thing to do and what one should do. Caring about one's group is a virtue. By extension, a member's loyalty to their group would lead them to feel like a good person