Because he thought he could cure his pancreatic cancer by just changing his diet instead of having his pancreas surgically extracted. He tried changing his diet, and when that didn't work, he decided to go ahead with the surgery. Unfortunately, at that point it was too later. If he had the surgery as soon as they found the cancer, he would probably still be alive today. Read "Steve Jobs" by Walter Issacson for more information.