Well, let's look at the outcome.
Israel was well on its way to destroying Hamas's ability to continue to be the aggressor. Now they have a reprieve and can rearm with Iran's help.
ding ding ding ding! We have a winner!
And as a bonus, Obama got the chance to elevate that Muslim Brotherhood neo-Nazi Morsi as a mediator in the region.