Or at least our current involvement.

There was no way to win the war. That was clear in the papers released by the Washington Post in 2019. We could prop up a corrupt government and possibly help some of the people. We could keep a relatively small military presence in the hopes that it would allow us to deter larger terror attacks, and allow us to gain intelligence on our next biggest rivals. What we weren’t going to do is create a modern state out of the graveyard of empires. The institutions weren’t there, nor was the will/desire of most of the population.

It was always going to end this way. Maybe faster, maybe slower, but it was always going to end this way.