Mr Biden said in a speech to the nation a day after the end of a 20-year US mission in Afghanistan that staying longer was not an option.
He applauded troops for organising an airlift of almost 120,000 individuals fleeing the Taliban dictatorship.
Islamist terrorists have been celebrating what they consider to be a win.
In the aftermath of the horrific 9/11 attacks, US-led soldiers invaded Afghanistan in 2001, toppling the Taliban and blaming al-Qaeda, a violent jihadist organisation located in the Asian country at the time.
Mr Biden has been heavily chastised, both at home and among his friends, for the hasty nature of the US withdrawal, which resulted in the unanticipated collapse of Afghan security forces.
Taliban insurgents were able to retake control of the entire country in just 11 days, with the capital, Kabul, falling to them on August 15.
Nearly 6,000 troops were deployed by President Biden to seize control of the airport and coordinate the evacuation of US and ally foreign people as well as Afghans who had been working for them.
Hundreds of thousands of people flocked to Kabul International Airport in the hopes of catching one of the evacuation aircraft.
Mr Biden congratulated troops for the huge evacuation and promised to continue efforts to pull out the remaining Americans in Afghanistan who wished to return – around 200 people in total – in his address on Tuesday.
However, the US president defended his decision to withdraw.
"I was not going to continue this endless war, and I was not going to extend this endless exit," Mr Biden said, adding, "The war in Afghanistan is now finished."
He claimed that the US did not require ground forces to defend itself.