You weren't posting about vitamin D deficiency, you were posting about the effect of vitamin D on the ikelihood of contracting Covid and reducing the severity of it if you do get it.
The Spanish study found that, in a sample of 216 patients (in a population of over 1 million cases), "We did not find any relationship between vitamin D concentrations or vitamin deficiency and the severity of the disease".