The attack on Pearl Harbor proved the greatest miscalculation in military history.