What the U.S. needs to learn from Afghanistan