WASHINGTON >> On the day Joe Biden was declared the winner of the 2020 election, President Donald Trump refused to concede, insisted that “this election is far from over” and vowed to fight the results in court. Two months later, as his supporters ransacked the U.S. Capitol in hopes of derailing the vote, Trump still would not accept defeat.

On Thursday, Biden, who was not running for reelection, took a very different approach.

In a seven-minute address to the nation, the president congratulated Trump on his return to power, urged Americans to accept that result and promised to work toward the kind of orderly transfer of power that Trump had tried to block four years ago.

“The American experiment endures,” Biden said in the White House Rose Garden. “We’re going to be OK, but we need to stay engaged. We need to keep going, and above all, we need to keep the faith.”

Change of tone

For Biden, the remarks were a moment of profound restraint. He had repeatedly condemned Trump as a threat to democracy and had warned that allowing him back into the White House would lead to economic disaster, a loss of rights for women and minorities, and a return to chaos and uncertainty overseas.

And yet, after a majority of voters concluded otherwise, Biden did not use his platform to air his grievances. Instead, he echoed Vice President Kamala Harris, Trump’s Democratic rival, who a day earlier told a crowd of supporters, some of them in tears, that she had conceded the race in a phone call to Trump.

Both Biden and Harris acknowledged the pain of losing. In her concession speech, the vice president said that “while I concede this election, I do not concede the fight that fueled this campaign.” In his remarks Thursday, the president said that “setbacks are inevitable” but added that “giving up is unforgivable.”

It was an allusion to one of the most defining themes of his life and career, going back to the days after his first election as senator in 1972 when he considered resigning after his wife and daughter were killed in a car crash. During five decades in politics, he has persevered through defeats to achieve his life’s dream to become president.

Now, however, that dream has come to the kind of end that he had hoped to avoid. Trump’s victory will ensure a conservative assault on Biden’s agenda that threatens to undo his legislative and political achievements.

Change in ticket

For most of the past four years, Biden expected that he would be the one to face Trump again. But concerns among Democrats about his age and mental fitness forced him to turn his reelection bid over to Harris. In his remarks, Biden praised her for giving her “whole heart” to the campaign.

“She has a backbone like a ramrod,” he said. “She has great character, true character. She gave her whole heart and effort, and she and her entire team should be proud of the campaign they ran.”

Karine Jean-Pierre, the White House press secretary, said that members of Trump’s team had not yet responded to White House officials’ outreach about transition planning but that Biden’s staff would “leave that line of communication open.”

When the president walked to the lectern Thursday in his trademark aviators, he received a standing ovation from the audience of Cabinet members and staff members who had worked for years with an eye toward a second term, only to see that hope dashed when Biden abruptly withdrew in July.

At times, he spoke directly to them: Senior White House officials like Mike Donilon, his longtime strategist, and Jeffrey Zients, the White House chief of staff, sat in the front row, just to the right of the lectern. Biden’s granddaughter Finnegan was also in the audience.

But the tenor of the short speech suggested that it was the start of an effort by Biden to shape his legacy in a more far-reaching way in the days, weeks and months ahead. News organizations and history books will eventually catalog the president’s accomplishments and failures, and he wants to have a hand in how he will be remembered.

“Don’t forget all that we accomplished,” he urged people watching his speech. “It’s been a historic presidency, not because I’m president, because of what we’ve done, what you’ve done, a presidency for all Americans.”

He described the legislation his administration passed and the people he believed he helped. But he also acknowledged that much of that help — like vast federal investments in infrastructure and climate measures — would not be felt for years. Despite those investments, many voters have said they did not feel his policies.

The president noted again that he believed the election was “the struggle for the soul of America,” a callback to the slogan for his presidential run in 2020. And he hinted at the idea that his presidency should be judged not just by the results Tuesday but as part of a longer story of America.

“I know for some people, it’s a time for victory, to state the obvious. For others, it’s a time of loss,” he said. “Campaigns are contests of competing visions. The country chooses one or the other. We accept the choice the country made.

“I’ve said many times you can’t love your country only when you win,” he added. Biden’s statement was notable not only for what it said, but for what it did not. He did not offer any insight into the lessons he might have drawn from the outcome of the election. And he did not say if there was anything he regretted about his decisions along the way, notably his insistence on running for reelection and his choice this summer to step aside.

His staff says there will be time for reflection, commentary and memoirs later. But at least publicly, Biden appears to have set those thoughts aside. Toward the end of his remarks, as he almost always does in speeches, the president referenced advice he had once received from his father.

“We all get knocked down,” he said. “But the measure of our character, as my dad would say, is how quickly we get back up.”