No.
No they are NOT!
Hamas deliberately targets civilians. DELIBERATELY!
Israel warns the Palestinian civilians before they strike. They give them ample time to get out of the targeted area. Hamas and its acolytes prevent the Palestinian civilians from leaving, using them as human shields.
No, child… they are NOT the same in the least.