It seems like you're thinking of the United States financial support of the Mujahideen in Afghanistan during the Afghan-Soviet War (1979-1989). No, the United States did not create terrorists - but they did support several groups who fought against the Soviet Union.