My wife was a pilot in the IAF. There are nights that she dreams about air raids, where the Israeli government issued warnings to civilians to vacate buildings where illicit weapons might have been stashed or that might contain tunnels to Egypt, and then when the pilots got there they saw that terrorists were gathering women and children in those buildings, and she wakes up screaming "GET OUT!!! GET OUT!!!" I have had psychotherapy to deal with the stress of being in situations where militants have quite literally hid behind their wives (most of them have multiple wives) and their children to avoid capture - they count on the Israeli side showing restraint and respect to human life.
Your premise is wrong. The number of civilians killed shows that Israel does NOT, and never HAS, targeted civilian areas. The civilians that were quite regrettably victims of collateral damage were the ones that refused to respond to Israeli warnings.