My argument is that superior military capability (whether through technology or through numbers)
may prevent military conflict. This is not a new concept, and would not have been foreign to anyone at the time. It's how European colonization worked. They swept in a proved (or presented) themselves as capable of decimating the countries in question, and subjugated them. Sometimes with relatively little violence, sometimes with a lot.
When in the middle of a war, new technology that might actually end that war, which to that point killed more people than any other recorded war, could be seen as some as a positive. Even if WW3 is assumed, making sure you have the capability to end it quickly and decisively can be seen as ethical, given the alternative they were actively living in.
In the end this discussion is about whether the people involved in the development of atomic weapons could have through they were acting ethically (that's what I was responding to originally). Regardless of what we think of the actual outcome, all these decades later, I think they could have believed they were acting ethically at the time.