We need to understand that an open society and free speech and press... really are the best weapons against al Qaeda and extremism.
The Middle East that Obama inherited in 2009 was largely at peace, for the surge in Iraq had beaten down the al Qaeda-linked groups. U.S. relations with traditional allies in the Gulf, Jordan, Israel and Egypt were very good. Iran was contained, its Revolutionary Guard forces at home.
Turkey's solidarity with Hamas is not, of course, based on Arab nationalism, which as a non-Arab nation it does not support. It is instead based on a definition of the Mideast conflict as one between Jews and Muslims, precisely the position of Osama bin Laden and al Qaeda.