You gave Germany and Japan as examples, do you remember what are the military actions that convinced these countries from committing their atrocities?
You seem to choose what parts of history you remember. You should take a refresher course in history, or watch the video I linked, it’s really informative I promise.