Isn't think only true if getting enough vitamin D is as important to you as cancer?

Sunlight is associated with lower risk of almost every cancer except skin cancer, and skin cancer is the easiest to detect early.