Heather Cox Richardson has written an excellent piece that gives a good history of how and why we ended up where we are in Afghanistan today. As we all know, we are in an extremely complex and difficult predicament over there with no easy, clear cut answers.
How this is going to end, we don't know, but whether you agree with it or not, it looks like a path has been chosen.