I'm still baffled as to why Saudi Arabia and Pakistan are considered to be "allies" to the West (mostly to USA, though...) when they've been supplying and giving place to hide for most of the terrorist organizations in the world, while the reasonable, strong, stable countries, like Iran, are considered as "enemies", even going as far as to pissing all over several attempts to establish friendly relationships (Axis of Evil bullshit comes to mind).
The Saudi-based terrorists mostly have a goal of toppling the Saudi government. It's the same reason they wanted to overthrow Mubarak in Egypt. Note that a huge number of Al Qaeda types are Egyptians or Saudis for that reason. Taking down the Saudi and Egyptian dictatorships is/was one of the long-standing goals of the militants. I heard a great speech given by a intelligence specialist here, explaining that the main reason those groups target US influence is
because US foreign policy directly supports those dictators, so they figure fighting against US regional influence would lead to the fall of the governments. In these cases, more often than not, the long-term goal is actually removing the local dictator, and fighting the USA was seen as a necessary step to achieve that.
While I despise the Saudi government, the idea that they're knowingly haboring terrorists is counterfactual. In fact, one major recruiting tool used by Al Qaeda was promising to topple the many dictatorships in the middle east region, including Egypt, Saudi Arabia and Iraq under Saddam. By doing this, they could align their interests with the many regional militants who wanted to overthrow their dictators. So, dictators
do breed terrorists, but not by
supporting terrorism, but by oppressing their own people to the point they become open to radicalized political groups.