Yeah, taking the vaccination reduces the chance of myocarditis. https://theconversation.com/myocarditis-covid-19-is-a-much-b...
Because the vaccinated are not immune to the virus, some of them must have gotten covid. The overall risk of this sample still falls with-in the normal range for myocarditis.