Is myocarditis risk worse after vaccination or infection or both?

The official narrative claims that vaccines prevent infection and therefore reduce risk of myocarditis from infection. This claim is reliant on two points: 1. Vaccines reducing infections 2. That infection related myocarditis occurs at a lower rate in the vaccinated.