Ali said he was grateful to Allah for giving him cancer. This may sound like a strange thing to say but he felt that this allowed him to appreciate all the blessings in his life which he may have taken for granted. He said it opened his eyes to the smallest of blessings like breathing fresh air.