In the book that was not the intent, but who knows about the movie version, we’ll see.
In fact it was not the foreigners who were the recipients of most of the arms sent but the local Muj.
According to this post, I was right.
The movie's intent was to show that the US breeds Osama. http://www.freerepublic.com/focus/f-news/1943203/posts