Check your history, the bomb did not win the war. The Japanese were doomed to lose long before the bomb was dropped, and Hitler was dead by that point as well. By dropping the bomb the US kept Russia out of Asia, that is likely the only reason the bomb was dropped.