Let me clear that I’m not saying all of the govt actions that took liberties away in wwii were justified or helpful or good. Japanese internment is one of the clearest examples of paranoia that was destructive and did not help the war effort.
But many other actions, from curfews, to govt planning of the economy, a draft, collective bomb shelters in London, etc, clearly did help preserve life and Liberty in the long term.