Iran–Contra? Their cyber espoinage tools getting swiped? The self-admission from the US administration that the CIA failed to properly recognize and prepare for the tactics used in 9/11, in spite of ample forward warning?
Like most intelligence agencies, their unaccountable power often gets mistaken for actual intelligence. That power makes them dangerous, but it doesn't make them smart.