Darwin once wrote "Ignorance breeds confidence much more than knowledge does." The less religious leaders know, the more certain and intransigent they become. The less education (about real things) they provide, the more their followers will believe their leaders know best. It's how the god thing works. Fundamentalism is fuelled by the perpetuation of ignorance.
So now the 52% of the country who voted for these deluded mystics have found out it probably wasn't such a good way to deliver the former set of priorities. 48% already knew this - as did the army who are now in a lose/lose situation. Having taken control of the streets and arrested Morsi together with his chums, they have 2 options: Deliver fresh elections but with stricter rules on who can and can't stand for power, or maintain a puppet administration. Either way it's not democracy, or at least not the one sponsored and promoted by the USA. The Egyptian generals have found out they can't trust the uneducated, brainwashed population they're paid to protect, to elect a government that stands a chance of giving their kids a future amongst all the other fiercely competitive global economies. And they might not continue to get paid by the USA if they do trust the population - although the USA will be quietly relieved an Islamic state wasn't successful.
And they can't choose to adopt that other system of government we're all jealously beginning to admire - China (and Vietnam, Singapore etc), where a meritocracy or perhaps a benevolent despot decides what's good for future generations. That takes far too long, and is brutal in the way it deposes existing power bases and other irritations of their mission. It also risks the appearance of power-crazed dictators seeking wealth and adulation instead of selfless saints who are periodically replaced by the constitution - which in turn is underpinned by the army.
So what's the future for Egypt (and Syria, Libya, Afghanistan, Iraq, Turkey perhaps, not forgetting those other wonderfully successful religious 'democracies' of Iran, Pakistan and Indonesia)?
Meltdown. If they insist on pushing fairy-stories instead of a proper education for all (men and women... oh and stop FGM!).
They're in a Catch 22 where the only way to break the cycle is to abandon irrational and unreasonable religious leadership and adopt uncensored education rather than antiquated thinking based on the forced perpetuation of ignorance. If populations want vibrant economies with great healthcare and happy contented individuals fulfilling their lives, they can't live in the past and pray for their gods to deliver it. Wise up or give up. You get the leaders you deserve.