Yes, because Hamas is targeting civilians. Israel is targeting terrorists who hid among civilians.
So, that justifies them killing civilians in the progress?