"Hamas" did not kill 2000 "Israelis". First of all, it was not just "Hamas" who broke out of Gaza on October 7. There were Al Qassam, Al Quds, Al-Aqsa and Al Asifah Brigades. The number of people killed was about 1200, 50% of them soldiers and not all of them Israeli Jews. Also Filipino slave workers and Bedouins. Most people were killed (obviously) from the Apache helicopters, by tank shells and hellfire missiles, all of which Palestinian resistance does not possess.
If we are talking about Hamas only (not about the 6 other Palestinian parties), Hamas NEVER had any objection of "war". The rhetoric of war is entirely Zionist, and by "war" they mean extermination of civilians. They do not fight any armed brigades and they don't intend to. They kidnap and torture only civilians, calling them "hamas". Same as Nazis called everyone (including teenagers) "Partisanen". Hamas' long-term objectives are clearly stated in their 2017 charter, and short-term objectives are here: https://archive.fo/CdhnW.
None mention any "war", unlike hysterical State of Israel.