The U.S. State Department officially designated Hamas a Foreign Terrorist Organization in October 1997.
http://www.cfr.org/israel/hamas/p8968
http://www.start.umd.edu/start/data_collections/tops/terrorist_organization_profile.asp?id=49
Hamas won election in 2006. So your statement about Hamas is baseless.
If you read Council on Foreign Relations or National Counter-terrorism Center, it will give you better facts
http://www.nctc.gov/site/groups/hamas.html
Your description about Egypt also conveniently ignores the large scale demonstration against Morsi. Whether that is justification for removing Morsi is debatable, but fitting facts to your view can only fool fools.