Exactly, we had better technology and the ability to turn out better planes once we identified weaknesses. Also, never underestimate the will of the American people, well the people of that era who were proud to be Americans and not self-absorbed and apologetic for our successes.
Yamamoto didn't.