The day after the Nagasaki bombing on August 10 Japan offered to surrender with the condition that the emperor be kept in place. The Soviet invasion of Manchuria and Sakhalin was then two days old. A third bomb was already on Tinian island, but without the fissile material still to be shipped. Truman was about to order a third bombing for August 19 when Japan surrendered on August 14. Japan's fear of a third atomic bombing doubtless played a part in Hirohito intervening on the side of the civilian ministers in the war cabinet and the timing of surrender.
Here's the documentary evidence: https://www.youtube.com/watch?v=-v5tymzKrIY
https://youtu.be/I34pxr23Nhw
At the time of surrender Japan still had 10000 aircraft and 2.5m troops in China killing 3500 Chinese civilians/day.
Apparently you value the civilian lives of Japan, the country that started the war, over those of occupied China, Korea, Indochina and Indonesia.
Not dropping the bombs would have merely traded the lives of Hiroshima's and Nagasaki's inhabitants for other Japanese cities that would have been firebombed conventionally and the lives of the countries Japan occupied.
As always in human history, a tradeoff between bad and worse. No amount of whining from Whataboutistan about the future crimes of the American empire changes this simple conclusion from the available evidence. Of course, if you're free to prefer evidence-free ideology.