That's true. But another reason is that the vast majority of us prefer that our laws give special preference or, obversely, slight attention to groups/individuals/causes that make us feel better about ourselves. If we really approved of equal protection under the law we'd never allow hate crime legislation, affirmative action, progressive taxation, etc., all staples of identity politics.