The term “value” must be qualified by what standard of assessment is being used. The discussion you’ve presented suggests a utilitarian viewpoint whereby value is being determined relative to a perceived potential for good. In a broader, categorical sense, all human life is equal in that each is a single individual living being - no more, no less.
This latter perspective corresponds with the extant phenomenon of natural law morality (the cause-and-effect of human behavior). Murdering any individual is immoral, yielding undesirable consequences, regardless of who they are (remembering that defensive force - even deadly force - is not immoral). With this in mind, it behooves us to adopt the categorical perspective, as it better mirrors fundamental moral principles which are essential to mankind’s ability to survive and thrive.
But of course, if a catch 22 decision must be made, the utilitarian view can lend some rationality to the choice.