WASHINGTON :  U.S media  has reported that  President Barack Obama admitted in an address on Tuesday that the United States could not wipe out the Taliban militant group in Afghanistan, but could help it end years of instability by supporting the government in Kabul.

In his final speech on national security as commander in chief of the US Armed forces Obama said despite U.S efforts, the situation in the war-plagued country remains unstable, the president said.

"I don't want to paint too rosy a picture. The situation in Afghanistan is still tough. War has been a part of life in Afghanistan for over 30 years. The U.S cannot eliminate the Taliban or end violence in that country," Obama said before U.S soldiers at MacDill Air Force Base in Florida.

"But what we can do is deny al-Qaeda a safe haven and what we can do is support the Afghans who want a better future, which is why we ave not only worked with our military but we backed a unity government in Kabul," he added.

Afghanistan is in a state of political and social turmoil, with Taliban insurgents and other extremist factions, such as Daesh, are operating in the country.