Ironically, if Charlie Wilson had not intervened in Afghanistan, the attacks on 9/11 would have never taken place.
However, the Soviets did richly deserve payback for the their roles in both the Korean and Vietnam wars. Soviet pilots secretly fought US air forces in both wars, besides all the other help they gave to our enemies. Afghanistan was just too good of an opportunity to get back at them.
It is ironic, though, that doing the right thing can often have negative side-effects.
"Charlie Wilson's War" is indeed an excellent film. If you have not seen it, it is well worth renting. Tom Hanks gives a great performance that is most convincing and realistic.
And reality can often be more entertaining than fiction. Any Congressman who parties naked in a hot tub with porn stars is A #1 in my book:

.