system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5: if the Japaneese knew about the nuclear bombs before the US dropped them on Hiroshima and Nagasaki, why didn't they surrender sooner?

So I heard recently that the nuclear bombs (or the Manhattan project or whatever you want to call it) was originally supposed to be secret but it was difficult trying to keep the ginormous bombs hidden from the public, if that's the case then shouldn't Japan (or the Axis powers in general) have known that the Allies would use the bomb? Why wouldn't they surrender before that? Was it even considered?
gpt
Oh, some *did* advocate for surrender, just like in Nazi Germany when all was lost. The problem lied in the *culture* that was formed during the rise of both Nazi Germany and Imperial Japan. Defeat in and of itself was seen as a shame that could not and would not be accepted ever. 

Simply put, it was death before dishonor. Germans got total wipeout by Russians. Japanese got *almost* total wipeout by the US - until the Emperor finally decided that it wasn't worth it anymore and called it quit. And even then, most generals just offed themselves rather than endure the shame of being seen as losers.