The war in Iraq did serious damage to al Qaeda. This was because of the many Moslems killed as a side effect of attacks on infidel (non-Moslem) troops, Iraqi security forces, and non-Sunnis. Al Qaeda played down the impact of this, calling the Moslem victims "involuntary martyrs." But that's a minority opinion. Most Moslems, and many other Islamic terrorists, see this as a surefire way to turn the Moslem population against the Islamic radicals. That's what happened earlier in Algeria, Afghanistan, Egypt, and many other places. It really has nothing to do with religion. The phenomenon hits non-Islamic terrorists as well (like the Irish IRA and the Basque ETA).
That was some "distraction," eh?
A distraction for al Qaeda, that is.