The purpose was to make some people feel righteous, which is the purpose of so much human activity.