Triumph often is nearest when defeat seems inescapable.