The Israeli prime minister says the country needs to continue its efforts until Hamas is destroyed as a military and political organization.