History showed us it would easy to conquer, but impossible to control Afghanistan.
What was/is needed, simply, is a travel ban from most countries of the Mid-east, North Africa and South Asia. No low IQ, in-bred, illiterate jihadis = no terror in the USA.
17 years of American dead in Afghanistan is the price our politicians, media and deep state are willing to pay for their political correctness bona fides.
Which means we are there indefinitely. There won't be a president who is willing to preside over the withdrawal and collapse of Afghanistan.