Hamas is dedicated to the destruction of Israel and its military wing has been involved in scores of attacks .