​How the United States transformed a tactical failure into a narrative of national resolve.