Just like the bombing of Hiroshima, it was the right thing to do.
Yes, both of those events saved millions of lives in the long run.