If there has been one thing that has been consistent about the Obama administration’s policies toward Egypt, it has been bad timing. The latest shift in the U.S. attitude toward Cairo came yesterday when Secretary of State John Kerry said after a meeting with the country’s leaders that the U.S. was ready to repair its relations with the military government that has ruled the country since last summer’s coup. Given that the regime led by President Abdul Fattah el-Sisi is clearly ensconced in power and seems to have the support of most of its people, this decision is a good idea even if it comes far too late to do much to actually do the U.S. much good. President Obama’s embrace of the Muslim Brotherhood government that Sisi overthrew was a mistake that was compounded by Washington’s futile efforts to head off the coup and then impose cuts in aid to Egypt’s military. These measures did nothing to make the military respect human rights or increase support for democracy in Egypt. But they did convince most Egyptians that the U.S. was out of touch with their desire to end the ill-fated experiment with an Islamist government. But by making this belated statement on the eve of the Cairo government’s sentencing of journalists for assisting the Brotherhood, Kerry lost whatever little leverage or standing he might have had in pushing Sisi not to go overboard in his campaign against the Brotherhood. Bad timing has been the hallmark of the administration’s path to its current dilemma. Obama stuck too long with the old regime led by Hosni Mubarak to suit most Egyptians who were ready for change during the 2011 Arab Spring protests that swept the country. But by pushing hard for Mubarak’s ouster after being on his side for so long convinced no one of America’s good intentions. But once Mubarak was out, the president shifted his ground and began working to pave the way for a Muslim Brotherhood-led regime against the wishes of the country’s military that hoped to avert that outcome. Washington was ruthless in threatening dire consequences against the army when it tried to stop the Brotherhood from winning Egypt’s first election and then seemed to support the Islamists once they were firmly in power. When a year of Mohamed Morsi’s government convinced tens of millions of Egyptians to take to the streets in the summer of 2013 to urge the Brotherhood’s ouster, Obama again waited too long to recognize this reality. He was seen as seeking to stop the mass movement aimed at averting the country’s slide into unchecked Islamist tyranny. When the U.S. punished the military government that overthrew Morsi to popular acclaim, that ended any chance of regaining American influence in the world’s most populous Arab nation. Sisi’s government’s ruthless suppression of the Brotherhood makes sense to Egyptians who understand that they must choose between the military and the Islamists. Sisi is right to regard the Brotherhood as a deadly foe that must be crushed now if Egypt is not going to have to face more violence in the future. But it hardly enhances the image of the U.S. as a friend to freedom everywhere for Obama to have finally given in on this point just as Sisi was imprisoning journalists and sentencing large numbers of Brotherhood members to death. Second guessing any president is easy, but the plain fact is that this administration has managed to mess up even those decisions that were correct. At this point, President Obama has alienated virtually everyone in Egypt. Sisi’s government has the power to help influence the Palestinians to reject Hamas as well as providing an anchor for regional stability if it survives, as it probably will, the Muslim Brotherhood’s attempts to take back power. Though the U.S. retains the leverage that its large annual aid to the country gives it, there is little chance anyone in Cairo takes Obama’s admonitions seriously, even when he is right. Egypt is far from being the only foreign-policy disaster that can be laid at the feet of this president. The collapse in Iraq, failure in Afghanistan, throwing away its leverage to stop Iran’s nuclear threat, abandoning Syria and then backing away from efforts to punish the Assad regime in Syria, and a foolish “reset” of relations with Russia that led to more aggression from Moscow loom larger than Obama’s streak of bad timing in Egypt. But, like those other examples, Egypt has highlighted the president’s inability to make a decision and his poor choices when he does make up his mind. Having first articulated his flawed vision of a new Middle East policy in a 2009 speech in Cairo, it is both ironic and fitting that Egypt is also a reminder of just how amateurish this administration’s approach to foreign policy has always been.