Here is the actual quote from
Why did Einstein call racism 'a disease of white people'? - Quora
"My trip to this institution was in behalf of a worthwhile cause.
There is a separation of colored people from white people in the United States.That separation is not a disease of colored people. It is a disease of white people. I do not intend to be quiet about it.
"The situation of mankind today is like that of a little child who has a sharp knife and plays with it. There is no effective defense against the atomic bomb ... It can not only destroy a city but it can destroy the very earth on which that city stood.
As the authors of
Einstein on Race and Racism noted, Einstein's comments about segregation at Lincoln University reflected his own experiences in both his native Germany and his adopted home in the United States and were part of a pattern of his attempting to ameliorate the effects of discrimination:
According to Jerome and Taylor,
Einstein’s statements at Lincoln were by no means an isolated case. Einstein, who was Jewish, was sensitized to racism by the years of Nazi-inspired threats and harassment he suffered during his tenure at the University of Berlin. Einstein was in the United States when the Nazis came to power in 1933, and, fearful that a return to Germany would place him in mortal danger, he decided to stay, accepting a position at the recently founded Institute for Advanced Study in Princeton, N.J. He became an American citizen in 1940. But while Einstein may have been grateful to have found a safe haven, his gratitude did not prevent him from criticizing the ethical shortcomings of his new home."