CIA did support f***ing mujahedeen in the 80s. Thats a fact not a slogan.
There is a big nuance that has got to be taken into account though, and saying "the CIA supported the mujahedeen" is a gross oversimplification.
It wasn't "the CIA" who "supported" the "mujahedeen". The CIA created a international program aimed at providing funds and weapons to the mujahedeen. Program including countries such as the UK, Pakistan, Israel, even Arab countries. Obviously, these countries offered their cooperation in exchange something (be it contracts, commercial/economical deals, concessions, etc...). But also from private donors not linked in any way whatsoever to the CIA and its program.
The "support" (funds, weapons, etc...) wasn't direct, but went through a vast network of actors in order to muddy and blur the origin of the program. Though it was obvious it originated from the US, you still need tangible and irrefutable proof to support that claim. That whole network was set to prevent that.
Generally speaking that support ultimately ended up in Pakistan who then redistributed it to "the mujahedeen".
Again, the term "mujahedeen" is very broad and encompasses many things, and, incidentally, not limited to Afghanistan. But since this is Afghanistan we are talking about, "mujahedeen" was a "drawer term" including most, if not all, the local factions engaged against the USSR: Massoud, Haqqani, Hekmatyar, Wardak, etc... though they ultimately unified under a single designation (Islamic Unity of Afghan Community) they did not operate under a single command nor did they share the same ideologies.
Going back to the redistribution of the support, the countries providing the weapons and funds had no say to which group (Massoud, Haqqani, etc...) they would be given.