The people of Gaza defied Israel and the US when they elected Hamas in 2006; they also knew Israel would never stop its illegal occupation of Gaza and ethnic cleansing of Palestine without armed resistance. Israel is the source of all violence between the River and the sea.
2006 Palestinian legislative election - Wikipedia
Did it work?
Did they stop Israel?