What's wrong with that?
Different countries have different military capabilities.
When Hamas launched the terror attack, they had fairly sophisticated weapons and vehicles (courtesy of Iran/Biden), so why shouldn't Israel defend itself?
Hamas has also murdered unarmed innocent civilians in their homes and raped Israeli women before parading their naked twisted bodies around, and you're talking about a power imbalance??