EDINBURGH — Here’s one sign the global elite is starting to get worried that capitalism isn’t working for the Western middle class. At the TED Global gathering in Scotland’s elegant capital city this week, much of the spotlight was on what’s going wrong with the 21st-century economy.

That matters because the TED conferences (TED stands for technology, entertainment and design, and is a not-for-profit global conference organization) are one of the obligatory stops on the itinerary of any self-regarding plutocrat, and in the past that constituency has often preferred its vision of the economic future served sunny-side up.

The gloom started with former Prime Minister George Papandreou of Greece. In a remarkably candid and introspective talk, Mr. Papandreou offered a mea culpa for his own mistakes and those of the European political elite. He admitted that hardship had been imposed on people who were “in the main, not to blame for the crisis” and accused the European establishment of uncritically, and at great cost, clinging to “the orthodoxy of austerity.”

Small Greece, he argued, had been made the scapegoat for a larger political and economic failure. As Mr. Papandreou mockingly put it, Europe chose to point the finger at “those profligate, idle, ouzo-swilling, Zorba-dancing Greeks.” Instead of addressing the harder, underlying issues, the impulse was to say: “They are the problem! Punish them!”