Their summit was also expected to focus on Biden's efforts to resuscitate talks between an Afghan delegation, led by Ghani's former chief executive Abdullah Abdullah, and the Taliban. After a historic start last September, the two sides have yet to agree on anything beyond an agenda.
The cratering security situation is rivaled only by rapidly deteriorating humanitarian crisis. An enormous third wave of coronavirus pandemic is devastating the country, putting the U.S. Embassy on lockdown, while drought and food need skyrockets.
Despite that growing crisis, Biden is committed to ending the two-decade "forever war" in Afghanistan, as critics call it, even though conflict is sure to continue, if not worsen, once U.S. and NATO troops exit.
"It won't be a happy conversation. While Kabul has accepted the fact that U.S. forces are leaving, it's tough to swallow given that the withdrawal is playing out against an unprecedented Taliban offensive," said Michael Kugelman, deputy director of the Wilson Center's Asia Program, a Washington think tank, ahead of the meeting.
Biden, seated with Ghani and Abdullah on Friday, welcomed the two men to the White House and assured them that U.S. support for Afghanistan would be sustained but that Afghans are in charge of determining their fate.
"Afghans are going to have to decide their future, what they -- what they want. But, it won’t be for lack of us being a help," Biden said.
"The senseless violence that has to stop. But it’s gonna be very difficult," Biden added, not calling out the Taliban by name as the militant group increases attacks across the country. "But we’re gonna stick with you. And we’re gonna do our best to see to it you have the tools you need," he added, specifying military, economic and political support.
Ghani first expressed his appreciation for all the American servicemembers who gave their lives in Afghanistan and said the U.S. "has not spared any effort in blood or treasure" during the war. But then Ghani addressed Biden's bombshell decision to pull out of the country, calling it "historic."
"It has made everyone recalculate and reconsider. We’re here to respect it and support it. Third, we’re entering into a new chapter of our relationship where the partnership with the United States would not be military, but comprehensive regarding our mutual interest. And we’re very encouraged and satisfied that this partnership is taking place. Thank you for ordering the priorities," Ghani said.
Ghani said the Afghan security forces had retaken six districts Friday, both in the south and northern regions of the country.
"It's showing our determination," he said.
Earlier in the day, Ghani met with Defense Secretary Lloyd Austin at the Pentagon. Ghani was asked by a reporter to comment on the reported U.S. intelligence analysis that his government may fall within six months of a U.S. military withdrawal.
In the bustle of the press being escorted out of the room, Ghani responded with a smile.
"There have been many such predictions and they have all proven -- turned out false," he said.
In the face of America's exit, the White House portrayed Friday's meetings with both Ghani and Abdullah as an important assertion of the United States' continued support for Afghanistan.
"The United States is committed to supporting the Afghan people by providing diplomatic, economic, and humanitarian assistance to support the Afghan people, including Afghan women, girls and minorities," White House press secretary Jen Psaki said in a statement.
"The United States will remain deeply engaged with the Government of Afghanistan to ensure the country never again becomes a safe haven for terrorist groups who pose a threat to the U.S. homeland," she added. That echoes Biden's statement that withdrawal is justified now that terror groups in Afghanistan no longer pose a threat to the U.S. homeland.
But the U.S. intelligence community has warned that threat could grow rapidly if Ghani's government falls and the Taliban returns to power. The deal the Trump administration signed with the militants last year requires they never provide safe haven to terror groups, but U.S. officials say they have not broken ties with al-Qaida, whose operatives trained in and planned the Sept. 11 attacks from Afghanistan.
In the weeks since Biden's withdrawal announcement, the Taliban have taken control of over 50 districts, according to the Foundation for Defense of Democracies' the Long War Journal, some by force and many by negotiation.
"There is no doubt about them coming in" to Kabul, Afghanistan's capital, Sayed Akbar Agha, a former Taliban leader during their rule before the 2001 U.S. invasion, told ABC News Tuesday.
U.S. officials, including Secretary of State Antony Blinken, have said the U.S. will stand with Afghan national defense and security forces.
But with more than half of U.S. military equipment out of the country, there's little the U.S. forces still on the ground can do to push back on Taliban forces.
The Pentagon made clear earlier this week, however, that despite the rise in Taliban attacks, the U.S. will not reverse course on withdrawal.
"Nothing has changed about two things. One, we will complete the withdrawal of all U.S. forces out of Afghanistan, with the exception of those that will be left to protect the diplomatic presence, and two, that it will be done before early September," spokesperson John Kirby said Monday.
A senior administration official told ABC News Wednesday that the administration has assessed that keeping U.S. forces would do little to change the battlefield calculus and would return Americans into harm's way. Trump's deal with the Taliban largely protected troops while they withdrew.
But Afghan officials are quick to point out that beyond its ties to terror groups, the Taliban has yet to meet any of its commitments under that same agreement, including working toward a nationwide cease-fire.
Abdullah, Ghani's political rival and now head of the Afghan negotiating team, has been meeting with the Taliban's political leadership in Doha, Qatar, since last September. But those talks have stalled after ironing out an agenda, and the Taliban have all but broken them off until foreign forces exit.
Ghani was expected to ask Biden to do more to push that peace process ahead, while some U.S. officials fear the friction between Ghani and Abdullah -- and the threat of the government imploding -- could cause an even quicker collapse.
There's also little U.S. leverage at this point. Blinken and the State Department's special envoy for Afghanistan Zalmay Khalilzad have suggested the Taliban will not take power by force because they seek international assistance in a post-U.S. Afghanistan.
Asked whether the State Department stands by that amid the Taliban's offensive, spokesperson Ned Price declined to directly address the question.
"Above all, we will continue to support the diplomacy, the process of diplomacy, that remains ongoing," Price told ABC News. "It is the only means to ensure a just and durable settlement to this conflict that has gone on for too long and claimed far too many Afghan lives."
Among those Afghan lives most at risk with a U.S. departure are the interpreters, translators, guides and other contractors who worked for the U.S. military and diplomatic missions over two decades.
According to the State Department, there are some 18,000 who have expressed interest in the Special Immigrant Visa program -- a pathway to immigrate to the U.S., provided they meet certain requirements.
The enormous backlog has sparked a panic. A vocal, bipartisan group of U.S. lawmakers, along with advocates, have urged the Biden administration to evacuate Afghans -- something a senior administration official told ABC News Thursday they are beginning to work on.
"We've already begun the process. Those who helped us are not gonna be left behind," Biden told reporters Thursday.
But it's unclear how many Afghans the U.S. is willing to evacuate to a safe location to await visa processing or whether it includes their dependents -- spouses and children -- who are also given visas through the SIV program.
"Khan," an Afghan translator who has been in hiding with his wife and 3-year-old son, was "ecstatic" to hear the reports of an evacuation Thursday, according to his lawyer. But it's unclear if he will meet the administration's unknown metrics. His brother "Mohammad" was killed in January for his 10 years of service to the U.S., one month after being granted approval for a visa.
In the short term, the U.S. will also provide one critical source of assistance to Afghanistan -- 3 million Johnson & Johnson COVID-19 vaccine doses, the White House announced Thursday.
Those may be shipped as soon as next week, according to a second administration official, along with oxygen and other desperately needed supplies, as Afghanistan suffers its highest case loads and death counts yet.
That's just a drop in the bucket, however, of humanitarian need, according to the United Nations secretary-general's report last week. An estimated 18.4 million Afghans need humanitarian aid right now -- more than double the figure at the start of 2020. In addition to COVID-19, enormous need has been fueled by widespread drought for a third year in a row and the spike in fighting.
ABC News' Luis Martinez contributed to this report.