Foresight by H. G. Wells
From When the Sleeper Wakes (1910):
“What of the yellow peril?” he asked and Asano made him explain. The Chinese spectre had vanished. Chinaman and European were at peace. The twentieth century had discovered with reluctant certainty that the average Chinaman was as civilised, more moral, and far more intelligent than the average European serf, and had repeated on a gigantic scale the fraternisation of Scot and Englishman that happened in the seventeenth century. As Asano put it; “They thought it over. They found we were white men after all.”