In the words of a song from the Rodgers & Hammerstein musical, "South Pacific" (1949)
(In a language learning forum I want to be clear. This is an example of irony. The character, Cable, is not saying that people should be taught racism. He is saying that people are only racist because they have been taught to be. It is an antiracist song).
You’ve got to be taught to hate and fear,
You’ve got to be taught from year to year,
It’s got to be drummed in your dear little ear—
You’ve got to be carefully taught.
You’ve got to be taught to be afraid
Of people whose eyes are oddly made,
And people whose skin is a different shade—
You’ve got to be carefully taught.
You’ve got to be taught, before it’s too late!
Before you are six, or seven, or eight,
To hate all the people your relatives hate:
You’ve got to be carefully taught—
You’ve got to be carefully taught.
When the show was in tryouts, the song was met by audiences in stony silence. The producers wanted to cut it out of the show. But Rodgers and Hammerstein said "if we take this out of the show, why are we doing the show?"