Up until the U.S victory at the battle of midway, the Japanese were on the offensive. Because of the attack stopping Japan from attacking Hawaii, it turned the tide in the favor of the U.S and put the Japanese on the defensive, which let the US push forward.