So anything they fight for must be bad no matter what it is? Even if they’re hunting down ISIS and al Qaeda members just like we are?
Neither of those is true of Afghanistan. The Taliban is quite capable of at least holding on, and the non-Taliban Afghani government isn't opposed to US support.
As evidence of this, President Ghani's reaction was to promise check and balances to reduce casualties, not kick the US out of the country.