While COVID-19 vaccines have indeed been associated with an elevated risk of certain adverse events like myocarditis, COVID-19 itself is associated with greater risks, including cardiac complications.
Clinical Research in Cardiology - Cases of myocarditis, diagnosed clinically by laboratory tests and imaging have been described in the context of mRNA-based anti-SARS-CoV-2 vaccination....