A writer and professor who studies happiness said that suffering is part of life. It’s what we do with it that matters.