There is good and bad in every society and there is no doubt that there are Muslims who commit sins and do things that they should not be doing such as by seeing themselves as superior to others. As a whole however, this is a misconception that many people have but it is not true.
It is mentioned in the Quran: “1. By (the Token of) Time (through the ages), 2. Verily Man is in loss, 3. Except such as have Faith, and do righteous deeds, and (join together) in the mutual teaching of Truth, and of Patience and Constancy. (Surah Al Asr)”.Based on the above, simply being Muslim is not enough as it is important to also perform good deeds.
Also, there is another verse: “O mankind! We created you from a single (pair) of a male and a female, and made you into nations and tribes, that ye may know each other (not that ye may despise (each other). Verily the most honoured of you in the sight of Allah is (he who is) the most righteous of you. And Allah has full knowledge and is well acquainted (with all things).” (Surah Al Hujurat 49:13). This shows that the someone’s value is measured through their actions and not their race.
Compare this to some of the events that took place in history where racism and dehumanization was systematically taught and enforced such as during the Slave Trade in the Americas where African slaves were dehumanized -you can get an idea of what this was like by reading around the topic and watching certain movies such as “12 years a slave”. Many events also took place, which aimed to prove the superiority of white people over black Africans. An example of this was the existence of the “Human Zoo” where Africans were placed in cages in Europe until as recent as 1960, so that white people could see them in a similar way to how they see animals at a zoo. Scientists used this idea to prove that white people were superior to black Africans who they saw to be closer to animals (justifying this through Darwin’s Theory of Evolution) and also used bodies of black Africans for testing to develop medicine in a similar way to how some people develop medicine today using animal testing. You can watch a video about this from here:
***Was this answer useful to you? If so, please share with others so that they can also benefit. Feel free to provide me with any feedback so that I can try and improve. Thank you***