The important piece missing from both of these comments IMHO, is that sunburns are the problematic piece.
There's always going to be some risk from UV exposure, but as the parent comment points out we're evolved to deal with it and even to rely on it. There's research showing that low amounts of cellular damage is actually beneficial as it triggers cellular repair mechanisms or aptosis of senecent cells. Even here other commenters point out how exposure improved their skin or vision.
However that natural evolved state doesn't include sitting inside all week and then going outside on the weekend and getting completely toasted sunburnt!
Doing that and getting completely sunburnt overwhelms our normal cellular repair mechanism, the immune system response, etc. It's much more likely a rogue cell evades the immune system when it's swamped with such cells.
Personally I avoid sunscreen if possible for short excursions but will use it if going to the pool as I'm indoors more these years and paler.