Yes, certainly for every Hamas Terrorist you kill, you will also kill another 5 or ten non combatants.
Yes, if someone has an Israeli bomb destroy their family, then eventually they may decide to be a terrorist against Israel.
And so this occurs.
However, Israel is not the USA.