An ethnicity or ethnic group is a grouping of people who identify with each other on the basis of perceived shared attributes that distinguish them from other groups. Those attributes can include common sets of traditions, ancestry, language, history, society, nation, religion, or social treatment within their residing area
Racism: https://en.m.wikipedia.org/wiki/Racism
Racism is discrimination and prejudice towards people based on their race or ethnicity.
Ethnicity: https://en.m.wikipedia.org/wiki/Ethnicity
An ethnicity or ethnic group is a grouping of people who identify with each other on the basis of perceived shared attributes that distinguish them from other groups. Those attributes can include common sets of traditions, ancestry, language, history, society, nation, religion, or social treatment within their residing area
Guess that answers the question, you're wrong :)