People are very aware of the economic gains produced by globalization. They are also very aware that the lion's share went to a globalist elite few. Telling the minions that they've never had it so good is an insult. Even those workers who demonstrably gained from globalization know that they were shortchanged when they hear of huge fortunes accumulating in tax havens while their governments are pressured into austerity. 

It is the arrogant refusal of the globalists to address the inequities that has led to this populist reaction. Demagogues like Trump are not the answer. But in the chaos they unleash, answers will be found.