JPMorgan Chase & Co. CEO Jamie Dimon said cancer hasn’t altered his plans to keep working even as he looks toward a retirement that he hopes will include philanthropy and teaching.

“It’s terrifying to hear” you have the disease, Dimon said Tuesday at an event sponsored by the Urban Land Institute in New York, where JPMorgan is based. “You feel worse and worse and worse, both emotionally and physically.”