So Libya gets a "secular" Government, while Tunisia and Egypt get "Islamic" Governments - but the point is that they all get democratically elected Governments, and stand a reasonable chance of becoming countries that respect human rights and the rule of law. Tunisia, indeed, has already made that transition, and Egypt, with one-third of the entire population of the Arab world, is still heading in that direction too.
The relevant question is not whether a party is Islamic; it's whether it is democratic. The distinguishing feature of the Islamic parties that have emerged in post-revolutionary Arab countries is that they have almost all chosen barely modified versions of the name of Turkey's ruling Islamic party, the Justice and Development (AK) Party.
The AK party has governed Turkey with remarkable success for the past 10 years.
AK is a socially conservative party, but it respects the constitution, civil rights and the voters' choice.
There is no good reason to believe that Islamic parties in Arab countries will behave worse than "secular" parties, any more than we would worry if a "secular" party in Germany were about to lose to a "Christian" party.
The Western prejudice against Islamic parties comes from a confusion between Islamic and "Islamist" groups, the latter being the English word for fanatical groups that reject democracy and advocate violent jihad. This confusion, sad to say, is often deliberately encouraged by Western and local interests that really know better, but want to discredit those who oppose them.
It didn't work in Egypt, where the Muslim Brotherhood's party won both the parliamentary and the presidential elections. This did not please the Supreme Council of the Armed Forces and its allies from the old regime, and they arranged for the Egyptian Supreme Court (whose members were all appointed by the old regime) to dismiss the new Parliament on a flimsy constitutional pretext just two days before the presidential election last month.
Then, as the voters were actually casting their ballots, the army also stripped the office of the President of its right to control the armed forces, gave itself the right to impose new laws, and declared that it would choose the group who write the new constitution. It was a coup implicitly justified by the rise of the "Islamic menace" - and some secular Egyptian politicians, disgracefully, have gone along with it.
Egypt's newly elected President, Mohammad Morsi, has refused to accept the army's decrees, and a delicate game is underway in Cairo in which he is trying to discredit the soldiers and gradually drive them back into their barracks without risking an open confrontation. He will probably win in the end, because the army knows the masses would promptly be back in Tahrir Square after a coup.
Gwynne Dyer is a London-based independent journalist.