Britain has seldom been friendly to second acts in life, particularly from politicians, but it is witnessing two very remarkable ones at the moment.

In 2010, David Cameron and Nick Clegg were the look-alike wunderkinds of British politics: At 43, Cameron, from the Conservative Party, was the youngest prime minister since Lord Liverpool in 1812; and Clegg, born a year after Cameron, was the first member of the Liberal family (his party, the Liberal Democrats, had its roots in the old Liberal Party) to get near real power since the fall of David Lloyd George in 1922.

Then everything fell apart. Cameron lost the 2016 referendum on the United Kingdom's membership to the European Union — a vote he had foolishly called to solve a problem of internal party discipline — and left Downing Street in disgrace, with the British pound crashing and the country in turmoil.

A survey of historians ranked him third from the bottom in a ranking of British premiers, above only Anthony Eden and Alec Douglas-Home (both fellow Etonians and Tories). Cameron’s attempts to reinvent himself as a businessman knocked more nails in his coffin. He tried, unsuccessfully, to launch a £1 billion ($1.3 billion) U.K.-China investment fund and acted as a lobbyist for the dodgy financier Lex Greensill.

Though it took place in two stages, Clegg’s fall from grace was equally complete. He lost his position as leader of the Liberal Democrats when his party was reduced to eight seats from 57 in the 2015 election. Then, he lost his parliamentary seat in an election two years later to an eccentric bar manager who is now in prison for fraud. The former deputy prime minister was reduced to a pathetic figure — publishing desperate pamphlets such as "How to Stop Brexit and Make Britain Great Again” and marching for a rerun of the referendum.

The two men are both back in the purple, though they are no longer friends. Cameron (now Lord Cameron of Chipping Norton) has recently completed his first 100 days as foreign secretary to general applause. Politicians and mandarins all note that he appears born for the role — he dominates every room he enters, masters his briefs and speaks fluently, and seems to be able to open every door he wants. The Foreign Office has not been this full of itself for years.

Clegg (now Sir Nicholas) is also walking on air as president for global affairs for Meta Platforms — that is, as the political representative of a trillion-dollar global behemoth that serves 3 billion monthly active Facebook users, 2 billion Instagram users and 2 billion WhatsApp users.

A long profile by Tom McTague in UnHerd, a British news and opinion website, paints a portrait of the politician turned business titan. Clegg earns an estimated $15 million a year, lives in an $8 million house in Chiswick, London, spends most of his life on planes and is greeted like a visiting dignitary wherever he goes. If Cameron is "prime minister for foreign affairs,” Clegg is "foreign minister for Meta” — arguably the more powerful job.

The most obvious lesson from these two tales of resurrection is that moderation pays: If you want to have a career after politics, it is better to cling to the middle of the spectrum. To be sure, Cameron and Clegg partly owe their comebacks to good fortune. Cameron to the fact that current Prime Minister Rishi Sunak wanted a prominent "One Nation" Conservative who could counterbalance the right and shore up his support in the shires, and Clegg to the fact that Meta CEO Mark Zuckerberg needed someone who could "speak European,” as McTague puts it. But the fact that they were moderates certainly helped.

The list of moderate politicians who have been rehabilitated is a long one. Former British Prime Minister Tony Blair is a multimillionaire whose institute, named after him, now employs more than 450 people. George Osborne, Cameron's finance minister, is an investment banker, chair of the British Museum and star podcaster along with his former Labour sparring partner, Ed Balls. David Miliband, a former Labour foreign secretary, is president and CEO of the International Rescue Committee, based in New York, and a fixture at international conferences.

Radicals have a harder time of achieving such revival. Former U.K. premier Boris Johnson is earning good money for his (extraordinarily thin) columns in the Daily Mail and for public speaking engagements, but he is regarded as anathema by big public and private institutions. Another former prime minister, Liz Truss — a "remainer" turned "Brexiteer" — is moving ever further to the fringes of politics: She recently appeared at a gathering of right-wing activists in Washington where she denounced "the deep state” and sat in silence when former White House strategist Steve Bannon praised Tommy Robinson, a far-right British agitator.

The mood in Tory ranks is so frantic in part because many middle-aged lawmakers who spent the past four years undermining prime ministers and pushing for hard Brexit are realizing that global organizations are not crying out for their services.

This all sounds encouraging. Surely, we want more high-flyers to see a political career as a valuable part of their CV. But there is also a dark side to this story. Cameron and Clegg's twin resurrections underline the extent to which we continue to overvalue performance over substance.

Both these men are what the Texans call "all hat and no cattle.” They are both excellent public performers — self-confident and fluent — but they are both less successful when it comes to their judgment. Cameron’s decision to hold a referendum on Brexit was one of the worst calls ever made by a British prime minister. Clegg ruined his political career by conceding so much to the Tories that his own party turned against him.

These revivals also underline how little the global establishment has learned from the rise of populism. Brexit was not just a temper tantrum by a foolish population, but a demand from millions of people for profound change. The majority of British voters were disillusioned with middle-of-the-road politics that gave them no choice between identikit politicians (Cameron and Clegg were both educated at elite private schools and are Oxbridge graduates) peddling a combination of liberal economics and liberal social policies.

The Brexiteers have proved too incompetent to slake the demand for a different type of politics. They have now abandoned their "leveling up” goal for being too expensive and taken refuge in new monsters such as the "deep state” to make up for their lack of accomplishments. But it would be a mistake to treat this as a license to return to the rejected policies of the old regime.

Cameron and Clegg's success and that of so many other middle-of-the-road politicians suggests the emergence of an unstable political order: One in which the global establishment continues to pursue its old policies as if populism does not exist and the masses then have no alternative but to engage in periodic Brexit- or Trump-style revolts against the status quo.

Adrian Wooldridge is the global business columnist for Bloomberg Opinion. He is the author of "The Aristocracy of Talent: How Meritocracy Made the Modern World.”