People also had much lower life expectancies. I don't think it's useful to say that because the people in antiquity didn't have sun protection they were stronger or somehow immune to sunburns ... maybe they just died before living long enough for it to matter.
Or maybe they all died from cancers of all kinds, just not categorized as such, or died by murder / wars before cancer became an issue.