How can you win a war when everything you need to win the war is made by your rival?

Was the US a manufacturing dwarf relative to Japan and Germany in 1939?