There's certainly been no shortage of rhetoric on the Israeli side to exact revenge for Oct 7th. Some of it very extreme. The events of that day traumatized Israelis.
I don't think most Israelis really think the Palestinians are the biblical "Amalek". More like the children of "Ishmael", i.e. "cousins". They likely do view Hamas specifically as an entity that should be annihilated. i.e. all 40k or so Hamas combatants killed or captured. But even if we take this at face value it's still stupid to waste energy on a place that's known to not be a military threat while there are active military threats. First finish the military threat.
It does when your enemy is Amalek.
https://www.motherjones.com/politics/2024/01/south-africa-is...