What is the ultimate goal? To wipe out Hamas?
No.
To wipe out ALL of our enemies?
No.
These are means to the end.
The end is
צפניה ג':ט'
כִּֽי־אָ֛ז אֶהְפֹּ֥ךְ אֶל־עַמִּ֖ים שָׂפָ֣ה בְרוּרָ֑ה לִקְרֹ֤א כֻלָּם֙ בְּשֵׁ֣ם יְהֹוָ֔ה לְעׇבְד֖וֹ שְׁכֶ֥ם אֶחָֽד׃
For then I will purify the lips of the peoples, that they may all call on the name of Hashem, to serve Him with one accord.
THAT is the goal. Achdus with each other around Hashem.