The biggest mistake of Pearl Harbor was not destroying the shipyards that turned out 24 Essex Class aircraft carriers.
I don’t think any ships were built in Hawaii. Big repair facilities but no ship yards.
The point is there was no way the Japanese could stop us from building those carriers. Therefore, there was no way they could win.