At times of economic upheaval and hardship, history tells us that people can become fearful and resentful.