Speaking of the Russian invasion of Ukraine... A lot fewer people would have died if Ukraine had surrendered immediately. About 200,000 Russian soldiers' lives would have been saved, and I find it rather unlikely that Putin's repressive measures would have killed more Ukrainians than that. But somehow in this case I find myself putting my ideology over human lives.
Not all ideologies are the same, of course, but you should still consider whether you only see people you disagree with putting ideology over human lives because when you put your own ideology over human lives, it seems so obvious and natural that you don't think about it.