I just got done reading Sarah Chayes's excellent book Thieves Of State. She spent significant time working with the USA military in Afghanistan and she devotes substantial time to the idea that the CIA is a rogue agency that often undermines the USA military and undercuts the goals of the USA State Department. Her stories are really shocking, including many months spent setting up a sting to take down a vast network of corruption in Afghanistan, only to have the whole sting sabotaged at the last moment, because it turned out that many of the people who were taking bribes were taking bribes from the CIA, and the CIA had refused to share that information with the USA military. If the subject interests you, I posted a long excerpt here:
https://demodexio.substack.com/p/thieves-of-state-part-8-of-...