Pompeo was indeed director of the CIA from 2017 to 2018. However, he was Secretary of State from 2018 to 2021.
That's why I'm suspicious. All the things he had done for Trump during his administration was to support him, but I'm sure it was an act.