tis is old as the hills, even biblical...
And why beholdest thou the mote that is in thy brother's eye, but perceivest not the beam that is in thine own eye? KJV, Matthew 7:3, Luke 6:41
Alternative questions would be, "Why does racism exist?" "What good is it?" "Why did God create different races of men, so that there could be
discrimination?" Or, if you believe in Evolution, "Why did men evolve into different races, what possibly good function could that serve?"
We can clearly see the bad, but what is the good?
When we're on the receiving end of racial discrimination, it shocks us, and wakes us up. When we're on the delivering end, we hardly notice it at all.
Many people discriminate without being aware that they do, or if they are somewhat aware, are really unaware of the actual effects on the other
persons. One thing that is certain, the person experiencing the racial hatred becomes more "conscious" about the "idea of discrimination" in general.
But, we all discriminate, in many many ways, alternative ways, that have nothing to do with racism. Just not conscious of it all the time. Through
racism, we come to know the concept of discrimination, and become intimately familiar with it. There's nothing that hits home more, than the obvious
injustice of being told, you can't have it, because of the color of your skin.
From a spiritual point of view, it is the discrimination from preferences of "this but not that" that has led to the soul's separation from God. But,
how can God get men to become aware that they are discriminating, and making choices, that drive them away from Him?
From an Evolutionists, point of view, increasing conscious intelligence, leads to better survival of the species, and anything that improves conscious
intelligence will be "selected" by evolutionary forces. Hence, by emerging different races, nature forces those persons of each race to think more
about their conditions, and seek to solve the problems posed.
However you look at it, racism is just an intermediate state, a transition period in the awakening of conscious intelligence, that assists in the
development of man, in his arising from deep sleep to enlightened state. Once the individual is matured enough, he simply discards the racial
thoughts, the same way we throw out old clothes, and put on new garments.
The presence of racism then, is a metric that gauges the level of intelligence that those in the society have reached in the developmental path.