Wasn't really a song, its from the Modern Traveler book by Hilare Belloc.
(Whatever happens we have got, the Maxim gun, and they have not).But otherwise this.
People didn't hide from what was done in the name of Empire. The imperialists also weren't stupid (mostly). For example the generation of racism against people in what is now India, Pakistan and Bangladesh was a deliberate policy post the American Revolution. Prior to that the EIC acknowledged that many of the societies in India were equals to Europe and Indian people (well men) were quite a part of the administration on an equal basis.. Observation of what happened in the 13 colonies led them to change that policy and create the racists tropes that existed from the Company to the Raj and onto today.