Only if you think that the civilians of the Middle East specifically, or Islam in general, actually have a say in their governments' foreign policy.
They don't.
What controls the funding of terrorists, and whether those terrorists have safe harbors, are the governments.
And, it doesn't...