AIG was about to go bankrupt because it had promised over $400 billion to people holding credit swap defaults with them on, among others, Lehman Bros—$400bn that the company didn't have.