Hamas won a landslide election victory in January , prompting Israel , the United States and the European Union - which includes France - to threaten to stop funding unless the Islamic militant group recognize Israel and stop its militants from attacking the Jewish state .