President Emmanuel Macron vowed an economic revival, but as he seeks re-election, a Potemkin factory in the town where he was raised shows just how hard that can be.AMIENS, France — During the last presidential campaign, the troubled Whirlpool factory in the northern city of Amiens became the setting for frantic, dueling appeals for support by Emmanuel Macron and his far-right rival, Marine Le Pen.Mr. Macron promised to save the plant — which happens to be in his hometown — and once he was elected, his government poured millions in subsidies toward the factory’s reinvention, as a showpiece of his commitment to reviving French industry.As Mr. Macron seeks re-election, he and Ms. Le Pen are preparing to square off once again as the front-runners before the first round of voting in presidential elections on Sunday. But the fate of the plant has proved much the opposite of what Mr. Macron had hoped for.Today, the plant is an example of the difficulty of rehabilitating ailing French industries and of the president’s challenge in winning the confidence of French workers, who have been gravitating for years to the far right.The mammoth plant in Amiens, where weeds have pushed through asphalt and the cafeteria’s menu is frozen on sausage fricassee, is deserted and lifeless, except for three last Whirlpool workers who spend their days huddling around the coffee machines in a few small rooms.The plant’s new operator was convicted in February of misuse of funds, after a year of taking money from the government and Whirlpool and doing precious little with it. Workers say they spent idle days as next to nothing rolled off the assembly line. Instead, they kept busy killing time, taking extended cigarette breaks or lying inside their cars fidgeting on their smartphones.Frédéric Chantrelle, left, one of the last three workers still employed at the plant in Amiens, and Christophe Beaugrand, a former employee.Dmitry Kostyukov for The New York Times“Two or three times, when someone important visited, we had to pretend to work or hide,” recalled Mariano Munoz, 49, who was in charge of janitorial services. “The welders welded all sorts of things and hammered away. One or two tinkered with a car. Me, I’d take the street cleaner and I’d sweep the entire parking lot.”Mr. Macron was elected as a change agent five years ago, with plans to disrupt the heavily unionized industrial sector that had stagnated as owners feared the rising cost of French workers who were guaranteed years of ample benefits and were notoriously difficult to fire. For years, unemployment hovered chronically at 8 percent or more as the industrial sector atrophied.Initially, Mr. Macron attempted to overhaul France’s economy by pushing through business-friendly changes, like cutting taxes, especially for the wealthy. In his first years as president, he took on some of France’s toughest unions, provoking the biggest strikes the country had seen in years as he revamped France’s voluminous labor code, making it easier to hire and fire workers.Learn More About France’s Presidential ElectionThe run-up to the first round of the election has been dominated by issues such as security, immigration and national identity.Suddenly Wide Open: An election that had seemed almost assured to return President Emmanuel Macron to power now appears to be anything but certain.On Stage: As the vote approaches, theaters and comedy venues are tackling the campaign with one message: Don’t trust politicians.Behind the Scene: In France, where political finance laws are strict, control over the media has provided an avenue for billionaires to influence the election.A Political Bellwether: Auxerre has backed the winner in the presidential race for 40 years. This time, many residents see little to vote for.Private Consultants: A report showing that firms like McKinsey earned large sums of money to do work for his government has put President Emmannuel Macron on the defensive.But even as the overall economy has bounced back strongly from the pandemic, Mr. Macron’s efforts to reindustrialize France have proved decidedly mixed, economists say, as evidenced by the nation’s trade deficit of 84.7 billion euros, about $93 billion, last year — a record — as well as the plant in Amiens, which had made tumble dryers for Whirlpool and did not survive despite nearly €10 million in subsidies.Amiens North, an area inhabited by many descendants of North Africans recruited to work in factories in the 1960s and ’70s.Dmitry Kostyukov for The New York TimesFor Mr. Macron, the plant’s long, agonizing death has complicated every trip back to his hometown, about 80 miles north of Paris. It reinforced the impression of Mr. Macron, a former investment banker, as the president of the rich, someone cut off from ordinary French people — like the nearly 300 workers who lost their jobs when the plant finally did close in 2018.Many of the laid off workers went on to join the Yellow Vest movement, whose ranks were filled with working-class French struggling under high taxes and a lack of earning power, ushering in the biggest political crisis of Mr. Macron’s presidency.Burned by the Yellow Vest protests, Mr. Macron’s government spent massively to offset the economic shock of the pandemic, and unemployment is now at its lowest in a decade. Still, it is service-sector jobs that have continued to increase, while industrial employment declines.Thomas Grjebine, an economist at CEPII, a research center in Paris, said that the fate of the Amiens plant was “symptomatic” of the difficulties of reviving the industrial sector. “In fact, the government is somewhat powerless before the closings of plants,” Mr. Grjebine said. “But many promises are made during campaigns.”During Mr. Macron’s campaign for the presidency in 2017, 11 days before the final vote, Mr. Macron met with union leaders in town, while Ms. Le Pen paid a surprise visit to the plant’s parking lot and was greeted warmly by striking employees — forcing a reluctant Mr. Macron to follow.Patrice Sinoquet, another of the last remaining workers at the plant, showed a photograph of Mr. Macron visiting the factory in 2019.Dmitry Kostyukov for The New York TimesHeckled and jostled by the hostile crowd, Mr. Macron tried to catch up with Ms. Le Pen, whose party, then called the National Front, had won the department that includes Amiens in the first round of voting that year.“You think it doesn’t hurt me in the gut that people vote for the National Front on my soil?” Mr. Macron said to the crowd. Later, he promised a “real Marshall Plan for the reindustrialization of our economically lost territories.”Half a year after his election victory, that promise seemed in sight. A prominent local businessman, Nicolas Decayeux, was selected to take over the plant with a project to manufacture refrigerated lockers and small vehicles. He took on 162 of the 282 laid-off Whirlpool workers and received €2.6 million in subsidies from the government and €7.4 million from Whirlpool.During a celebratory visit to the plant, Mr. Macron was accompanied by Mr. Decayeux. In a follow-up letter to Mr. Decayeux, the president wrote that the businessman’s “beautiful entrepreneurial project” would “contribute to our industrial recovery.”“I really had stars in my eyes because here is a young president who wants to reform France,” recalled Mr. Decayeux, who named his company WN.It was a rare piece of good news for Amiens, a picturesque town of more than 130,000 that straddles the Somme River.Like much of northern France, it had been hit by deindustrialization for two generations as successive national governments considered a shift toward a consumer-driven economy a sign of modernization, witnessed in the Amazon warehouses that have opened in Amiens and elsewhere.An Amazon facility near Amiens. The shift toward a consumer-driven economy was seen by successive national governments as a sign of modernization.Dmitry Kostyukov for The New York Times“This drop in social standing, the sentiment of being abandoned and of not mattering, eased the way for extremism,” said Brigitte Fouré, the center-right mayor of Amiens.In an interview with a French magazine last year, Mr. Macron said that growing up in Amiens, he had witnessed the “full force of deindustrialization” in his region. Still, he acknowledged that he himself had enjoyed a sheltered upbringing, living in a “rather happy bubble, and even a bubble in a bubble.”The son of two medical doctors, Mr. Macron grew up in Amiens’s richest neighborhood, Henriville, and attended the city’s most prestigious school, a private Jesuit establishment called La Providence. “He’s from Henriville, and when you say, ‘Henriville,’ it’s Versailles,” said M’hammed El Hiba, the longtime head of Alco, a community center in Amiens North, an area inhabited by the descendants of North Africans recruited to work in factories in the 1960s and 1970s.Mr. Macron grew up in Amiens’s richest neighborhood, Henriville, and attended the city’s most prestigious school, a private Jesuit establishment called La Providence. Dmitry Kostyukov for The New York TimesAt the former Whirlpool plant, the optimism faded quickly. Former workers said that Mr. Decayeux’s plans to build lockers and small vehicles never took off.“Nothing was happening,” said Christophe Beaugrand, 44, a welder who was hired by Mr. Decayeux after being laid off by Whirlpool. “People were in the cafeteria with their phones and chargers. When the prefect visited, we had to make noise or hide.”Who Is Running for President of France?Card 1 of 6The campaign begins. More