I think this is something a lot of people don't realize. If Israel showed any weakness after the Hamas terrorist attacks, it is likely Iran, Lebanon, who else knows who, would attack as well.
Israel was put in an impossible situation and did what it had to do to protect itself.