Not only aftermatchI would agree with you in terms of the aftermath, and the retaliation by the IDF.
But the day of, slaughtering, r*ping, kidnapping civilians, burning some alive, killing children and pets, I can safely take the position of, "Hamas was absolutely in the wrong here."
IDF has been detaining palestinians indefinitely and torturing them in prison (including sexual abuse) for over a decade, way before October 7. Plus helping the settlers keeping their violence toward civilian families.
I'm not saying this to excuse Hamas, just to point out that this shit has been going forever... but October 7 was what escalated and brought it to the mainstream surface