Most nations in Europe imposed strict quarantines, masking, and social distancing. They eventually got the virus under control.

Not Sweden. It took a different route, relying on the good sense of individuals and the hope of “herd immunity.” It didn’t work, according to this story in the New York Times.

LONDON — Ever since the coronavirus emerged in Europe, Sweden has captured international attention by conducting an unorthodox, open-air experiment. It has allowed the world to examine what happens in a pandemic when a government allows life to carry on largely unhindered.

This is what has happened: Not only have thousands more people died than in neighboring countries that imposed lockdowns, but Sweden’s economy has fared little better.

“They literally gained nothing,” said Jacob F. Kirkegaard, a senior fellow at the Peterson Institute for International Economics in Washington. “It’s a self-inflicted wound, and they have no economic gains.”

The results of Sweden’s experience are relevant well beyond Scandinavian shores. In the United States, where the virus is spreading with alarming speed, many states have — at President Trump’s urging — avoided lockdowns or lifted them prematurely on the assumption that this would foster economic revival, allowing people to return to workplaces, shops and restaurants.

In Britain, Prime Minister Boris Johnson — previously hospitalized with Covid-19 — reopened pubs and restaurants last weekend in a bid to restore normal economic life.

Implicit in these approaches is the assumption that governments must balance saving lives against the imperative to spare jobs, with the extra health risks of rolling back social distancing potentially justified by a resulting boost to prosperity. But Sweden’s grim result — more death, and nearly equal economic damage — suggests that the supposed choice between lives and paychecks is a false one: A failure to impose social distancing can cost lives and jobs at the same time.

Sweden put stock in the sensibility of its people as it largely avoided imposing government prohibitions. The government allowed restaurants, gyms, shops, playgrounds and most schools to remain open. By contrast, Denmark and Norway opted for strict quarantines, banning large groups and locking down shops and restaurants.

More than three months later, the coronavirus is blamed for 5,420 deaths in Sweden, according to the World Health Organization. That might not sound especially horrendous compared with the more than 129,000 Americans who have died. But Sweden is a country of only 10 million people. Per million people, Sweden has suffered 40 percent more deaths than the United States, 12 times more than Norway, seven times more than Finland and six times more than Denmark.

The moral of the story: Social discipline and leadership are necessary to get the disease under control. In the absence of both, the virus will continue to spread and destroy lives.