“I asked the Prophet (ﷺ): ‘O Messenger of Allah, is it tribalism if a man loves his people?’ He said: ‘No, rather tribalism is when a man helps his people to do wrong.’”
Sunan Ibn Majah Book 36, Hadith 24