This is exactly like the Russia/Ukraine war, that is, Russia having to go in to de-Nazify, de-radicalize and de-militarize Ukraine because of Nazi Ukraine's murder and persecution of Russians in the Donbas. The problem with the Israel/Hamas-Palestinian war is that in order for there to be de-militarization and de-radicalization of Islamic Hamas and a future of peace in the area, Islam would have to be destroyed.
Please study the origin of Islam in older sources (going back at least 100 years) in order not to be duped by the Left's whitewashing of Muhammad and his religion. The Archangel Gabriel appeared to the Virgin Mary at the Annunciation. Did the Archangel Gabriel also appear 600 years later to Muhammad to announce a new religion? God is immutable so that's impossible, but people easily believe Satan's deceit that Islam came before Christ and Muhammad is God's most beloved last prophet. When you discover who Muhammad's Angel Gabriel is, you'll have the key to understanding exactly what Islam is.