the transcript is also on the State Department’s website:
https://www.state.gov/secretary-michael-r-pompeo-with-david-rubenstein-of-bloomberg-news/
QUESTION: So as we talk in the first week in January, do you think the world is safer today than it was a year ago or two years or three years ago, or maybe it’s not quite as safe as it was?
SECRETARY POMPEO: No, I think we are leaving – after four years, I think we’re leaving the world safer than when we came in. I hope that the policies that we put in place will have the capacity to continue and whoever the next secretary of state is will begin to follow down this path in a way that recognizes the threat from the Chinese Communist Party, that honors the work that we have done to push back against the Islamic Republic of Iran, the two states with the capacity to inflict real harm on the United States of America.
I don't read it as Pompeo throwing in the towel. When he said "we are leaving" he was referring to what they had accomplished in the past four years, not that they were walking out the door.