Social Contracts and Sacred Rituals