Racism is the belief that one group of humans is superior to others based on visible characteristics of difference.
Tribalism is wholly different. It is allegance to a particular group that is, in a sense, one’s (vastly extended) family or clan - though often the actual relationship is more or less fictive. There is no necessity for an allegation of superiority (though there may be).
It is characteristic of racism that one can never, ever change one’s “race” (however defined). In contrast, allegance to one’s tribe can change. People can be adopted into the tribe. They can leave it.
Racism is considered, basically, a bad thing. Not so allegance to one’s family, right? Same with one’s tribe (or “nation”, though of course Judaism long, long predates nationalism). The reasons one dislikes racism (that it creates unchangeable classes of superior & inferior humans) does not apply to tribalism.