The altruism of law