That's not how they saw it.
Who is they? The scientists who developed the bombs? They were certainly not ok with it. The military? Not hugely - both Eisenhower, Nimitz and LeMay considered the Japanese effectively defeated already (and LeMay was not a man who was dovish in that regards). It's honestly shocking how many people - to this day - will naively repeat the Truman admin's justifications and their mysterious numbers as gospel.
The Japanese were a defeated power by 1945. Their military was dismembered, they had no raw resources and their cabinet was clearly trying to find ways to raise white flags without losing face. If I'm honest, a lot of the discourse relies on this weird racial trope that the Japanese are a naturally fanatical people (and if this notion that the Japanese would have all gone willingly to their deaths for the sake of Nippon is true, then why would the bombs even matter to begin with? It makes no sense).
The real reason the bombs were dropped had less to do with Japan, and more with what Truman (correctly) sensed would occur after WW2: a protracted showdown between the superpowers, and ensuring that the US could dictate terms of surrender. Why did the government explicitly rule out targeting a military base or giving a warning first (both actions which could have "demonstrated power" without leading to as many civilian deaths)? It was a show of strength - the US wanted to say that it had no qualms against using them in the future.