Referring to the Palestinian Islamist group Hamas, and Lebanon's Hezbollah, which Israel fought in a war last year.