It isn't, immune systems are quite complicated:
"White House immunologist Dr Anthony Fauci offered the warning while giving an update on efforts to develop vaccines at an online US Senate hearing on Tuesday. He said: ‘I must warn that there’s also the possibility of negative consequences, where certain vaccines can actually enhance the negative effect of the infection.’ Dr Fauci later explained that in rare cases people vaccinated against a condition could end up contracting the virus they thought they’d been protected against, and falling more seriously-ill with that disease as a result" [0]
We should be letting people make their own choices.
[0] https://metro.co.uk/2020/05/12/americas-top-coronavirus-doct...