I agree with you in terms of generalizing people along racial lines.
There is something to be said for paying attention to racism ingrained in our systems and society. Critical Theory and Critical Race Theory specifically focused on racial breakdowns in prisons and various other societal metrics says less about generalizing individuals and more about specific problems within larger systems. It's important to pay attention to race and racial terms in these cases, I think. Racism is real, and it's good to be aware of the problem and not ignore it.