You'd find that judging an individual's immunity by a vague notion of prior infection with Covid-19 is probably riskier than the vaccine.
Comirnaty had hundreds of millions of doses administered so far, and maybe - maybe - one woman died of myocarditis. This is nothing to potentially hundreds of thousands of prevented fatalities, much less the unpleasant to severe bouts of Covid-19.