Excerpting and adapting some text from an opinion piece in the Washington Post:
The US withdrawal from Afghanistan reflects a sound realignment of our national interest. It puts us on better footing to deal with the new challenges of the 21st century and clarify to allies and adversaries what we are and are not willing to expend resources on. Ending the long and futile war in Afghanistan will allow us to focus more attention on bigger priorities.