Ethnocentrism is a term with several meanings.
It can refer to argued superiority of one's own group.
Ir can refer to judging individuals from other cultures by the standard's of one's own culture. In this sense, it is the opposite of cultural relativism.
- Cambridge dictionary https://dictionary.cambridge.org/us/dictionary/english/ethnocentric
- Merriam-Webster https://www.merriam-webster.com/dictionary/ethnocentric