Oh please.
For Germany, World War II was about revenge and regaining Germany's "rightful" place in the world.
Japan did not attack Pearl Harbor because of severe pineapple shortages. Japan already had built a raw-material empire in the 1937-1939 period. Widening the war was an ideological decision based on the Shinto nationalist policy of Hakko ichiu.
A. Japan saw the United States as a threat to the continuation of their strategy.
B. Drang Nach Osten. what you state was the excuse Hitler used.
“For Germany, World War II was about revenge and regaining Germany’s “rightful” place in the world.”
There was some of that, yes, but don’t forget that whole “Lebensraum” thing in the east.
The US/Britain/Holland (Exile)/& Australia briefly formed something called ABDA (America, Britain, Dutch, Australia) to defend the islands & a mixed naval task force was organized. Incidentally, a move against US forces in the Philippines was also expected since those islands sat astride the sea lanes to Japan.
US war plans were geared toward a relief of the Philippines from bases at Pearl & the US west coast. That was until the Japanese turned naval strategy on its head by first raiding Hawaii & destroying the US battlefleet. Once the US Fleet was sunk they could take Indochina, the Philippines, Singapore & the Dutch East Indies without having to worry about US naval intervention.
Japan expected that the US might sue for Peace as the Russians had done in 1905. They also underestimated the rapidity with which the US was able to reconstitute its naval & air power.
Japanese Combined Fleet commander, Yammamoto, said he would "run wild for 6 months, after that, he could guarantee nothing". The elapsed time between Pearl Harbor & the Battle of Midway -- the first major US victory -- almost exactly 6 months.