That’s a different debate. If you look into it, you’ll find not much that we categorise as “race” has any rigorous scientific basis. Think about it, it’s all stuff that is very visual, skin pigmentation, facial structure. There’s shed loads of genetic variations between humans that are at least as, if not more significant than these but as they’re not immediately evident on getting first sight of someone, it’s the skin stuff we define “race” by.
Is a brown skinned black haired person more or less similar to a brunette, white skinned person, than a black haired, white person?
How about genetic predisposition to, say, a certain cancer or to a stroke, or dementia? (and if the insurance industry gets their way with advances in genetic screening, that definition is going to be more relevant in the future to your chances of getting a decent job than the pigmentation of your skin)
EDIT: In reply to joao3v16 two comments up from this