Let's get something straight. Terror is a tactic, not an entity. Our enemy is employing terrorism against us, along with other tactics, but formally calling our current fight the War on Terror is like calling the war in the Pacific against the Japanese the "War on Aerialists" because they bombed Pearl Harbor from the air, or like calling the war in Europe against Germany the "War on Blitzkreig."
Let's get something else straight. Wars are not fought between ideologies. Wars are fought between nations (def.: A people, usually the inhabitants of a specific territory, who share common customs, origins, history, and frequently language or related language--Websters). When nations go to war, they cloak themselves in a righteous cause or ideology to cover the naked aggression--on both sides.
And another thing. Governments, even dictatorial ones, exist at the will of the people. History is replete with examples of nations who willingly adopted dictatorships, for the benefits of peace and security that can be derived from a strong central government. I grow weary of the farcical notion that the peoples of the nations, with which we are fighting a proxy war, yearn for democratic freedom. I'm sure a large percentage (still a minority) of the Iranian people, for example, would prefer a democratic republic over a theocratic dictatorship. But, the majority of the Persian nation are quite content with the rule of the Ayatollahs--that same majority overthrew their relatively benign dictatorial monarch in 1979 and imposed the Ayatollahs' Islamic government on themselves.
So, let's be clear eyed here. We are at war, whether we want to admit it or not, with several nations under the banner of Islam. Terror is their tactic. "Terrorist" groups like al Qaeda, Hamas, Hizbollah, et. al., are those Islamic nations' expeditionary mercenary forces. Their strategy, manifest in their doctrine (the Koran), is our destruction.
In the immortal words of Todd Beamer, among those who fought back on Flight 93, "Let's Roll!"