In international law, purpose matters more than death toll
The purpose of the use of force matters more than the number of people killed—if the the target has significant military value then, so long as an attempt has been made to minimize civilian damage, an attack that kills many can still fall within the international legal concept of proportionality.