After the Atlantic Conference in 1942, Churchill and Roosevelt agreed to focus the war effort 80/20 on Germany/Japan. The decisiveness of victory at Midway came as surprise to the Americans who managed to seize the initiative with one hand tied behind their back, as it were.
Hitler’s decision to declare war on the U.S., often seen as a huge miscalculation, may have been made in an effort to keep Japan in the game.
BTW, the Doolittle Raid lead to the Battle of Midway. The Japanese wanted to establish forward bases further east to prevent a repeat of the Doolittle embarrassment. In the event, the attempt only accelerated their demise.
One has to wonder what might have happened if instead of Hitler invading Russia, he took over England first. England was preparing not just for the invasion, but their likely loss....well, according to my watching of Foyle’s War, which everyone should see.