Wrong. You are the one trying to rewrite history. Japan did NOT want a war with the USA, instead believing that U.S. people had little resolve for war, and that knocking out Perl Harbor would remove U.S. presence and influence from South Pacific, so Japan could continue its colonization plan in Asia.
They made a few blunders there, else Japan's plan WOULD HAVE WORKED:
1. carriers weren't there, oops, those carriers would later prove to be a major part of defeating Japan
2. Japan didn't destroy the fuel storage tanks in Oahu. Those would have taken year to resupply, but left intact that fueled the war against Japan.
3. Didn't destroy ship repair shops
Of course, the U.S. people came up with plenty of rage to make "resolve", Japan really miscalculated that