So is cancer mostly ‘bad luck’ or not?

Were the headlines wrong to suggest most cancer is bad luck?