They didn’t have the resources to take Hawaii and still go after the areas which had the oil and rubber and tin and other materials they were going to war to get. And consider how badly they botched their initial attempt at invading Wake Island, which wasn’t nearly as well defended as Oahu.
Look at the OOB. Oahu was not well defended.
The Hawaiian Department, 7 December 1941
The USA lucked out and a good thing too.