That's not how Operation Cyclone worked. You can just read the wikipedia article, there's several books on the subject, but honestly Blowback Season 4 is pretty good coverage. Episode 3 specifically deals with who at the CIA interfaced with the afghans and how.
It also includes the methods the US promoted the mujahedin as freedom fighters to the US before ultimately turning on them, which is what the meme is about.