“The rule of proportionality requires that the anticipated incidental loss of human life and damage to civilian objects should not be excessive in relation to the concrete and direct military advantage expected from the destruction of a military objective.”
https://lieber.westpoint.edu/proportionality-international-humanitarian-law-principle-rule/
500 dead enemy combatants, 0 dead American soldiers is A-OK.
Thanks for that link.