Back in the 1950s, when the institutions were still new and shaky, I’m sure many people feared the Western alliance might never take off. Perhaps in the 1970s, the era of the Red Brigades and Vietnam, many more feared that the West would not survive. But in my adult life, I cannot remember a moment as dramatic as this: Right now, we are two or three bad elections away from the end of NATO, the end of the European Union and maybe the end of the liberal world order as we know it.

In the United States, we are faced with the real possibility of Republican Party presidential nominee Donald Trump, which means we have to take seriously the possibility of a President Trump. Hillary Clinton’s campaign might implode for any number of reasons, too obvious to rehash here; elections are funny things, and electorates are fickle. That means that next January we could have, in the White House, a man who is totally uninterested in what presidents Obama, Bush, Clinton, Reagan — as well as Johnson, Nixon and Truman — would all have called “our shared values.”

Trump has advocated torture, mass deportation, religious discrimination. He brags that he “would not care that much” whether Ukraine were admitted to NATO; he has no interest in NATO and its security guarantees. Of Europe, he has written that “their conflicts are not worth American lives. Pulling back from Europe would save this country millions of dollars annually.” In any case, he prefers the company of dictators to that of other democrats. “You can make deals with those people,” he said of Russia. “I would have a great relationship with [Vladimir] Putin.”

Not only is Trump uninterested in America’s alliances, he would be incapable of sustaining them. In practice, both military and economic unions require not the skills of a shady property magnate who “makes deals” but boring negotiations, unsatisfying compromises and, sometimes, the sacrifice of one’s own national preferences for the greater good. In an era when foreign policy debate has in most Western countries disappeared altogether, replaced by the reality TV of political entertainment, all of these things are much harder to explain and justify to a public that isn’t remotely interested.

And Americans aren’t the only ones who find their alliances burdensome. A year from now, France also holds a presidential election. One of the front-runners, Marine Le Pen of the National Front, has promised to leave both NATO and the E.U. , to nationalize French companies and to restrict foreign investors. Like Trump, she foresees a special relationship with Russia, whose banks are funding her election campaign. French friends assure me that if she makes it to the final round, the center-left and center-right will band together, as they did two decades ago against her father. But elections are funny things, and electorates are fickle. What if Le Pen’s opponent suddenly falls victim to a scandal? What if another Islamic State attack jolts Paris?

By the time that happens, Britain may also be halfway out the door. In June, the British vote in a referendum to leave the E.U. Right now, the vote is too close to call — and if the “leave” vote prevails, then, as I’ve written, all bets are off. Copycat referendums may follow in other E.U. countries too. Viktor Orban, the Hungarian prime minister, sometimes speaks of leaving the West in favor of a strategic alliance with Istanbul or Moscow.

It’s not hard at all to imagine a Britain unmoored from Europe drifting away from the transatlantic alliance as well. If the economic turmoil that could follow a British exit from the E.U. were sufficiently severe, perhaps the British public would vote out its conservative government in favor of the Labour Party, whose leadership is now radically anti-American. Everyone discounts Jeremy Corbyn , the far-left Labour leader, but they also discounted Trump. Corbyn is the only viable alternative if the public wants a change. Elections are funny things, and electorates are fickle.

And then? Without France, Europe’s single market will cease to exist. Without Britain, it’s hard to see how NATO lasts long either. Not everyone will be sorry. As Trump’s appealing rhetoric makes clear, the costs of alliances (“millions of dollars annually”) are easier to see than the longer-term gains.

Western unity, nuclear deterrence and standing armies gave us more than a half century of political stability. Shared economic space helped bring prosperity and freedom to Europe and North America alike. But these are things that we all take for granted, until they are gone.

Read more from Anne Applebaum’s archive, follow her on Twitter or subscribe to her updates on Facebook.