That logic is extremely broken. People who spend more time outside do so because of more physical activity. The sun exposure is a side effect. Drawing the conclusion that sun exposure is therefore safe is just totally bonkers.
That is also selection bias. People who spend more time outside relaxing may have lower stress levels? Stress definitely contributes to cardiovascular illness.