The context and time period of the British Empire in India was different, not saying they behaved appropriately, but the world has moved forward to protect from such things happening again. Also, some Indians would say the Brits set down some framework for India to develop into what it is today. That debate is very different to what's happening now.
There are many sanctions and other tools that can be used to hurt a country without any killing. Although there is a passive nature and reluctance to send troops, at least weapons are sent to Ukraine for example, so they can defend themselves. Again, it's not a perfect solution because many terrible things are happening in Africa and many countries won't intervene unless they can benefit by taking some compensation, but at least there is the recognition that the Putins of the world are a huge threat.
However, Israel is immune to all of this and the US is pulling all of its levers to help them continue with this genocide. The last time such an ideology was witnessed was WW2 and to save the world, many countries fought together. The greater outlook was that had Hitler succeeded, he'd simply continue and kill and conquer every possible land, so it had to be stopped. Today you're witnessing Hitler winning in Gaza and a clear intent to kill all neighbours. Also, you see how they're controlling and forced the US to bomb Iran, go to Iraq and Syria, all for the benefit of Israel. Hitler never had this much influence and nor did his equivalent Mossad operate across borders. They are the worst nation ever, far surpassing any other group of people, even the shittest of shit that is ISIS.