That isn't relevant because there is no evidence that the vaccine reduces your risk of suffering from myocarditis after infection. (It isn't even necessarily true, but that is a separate matter).
https://newsroom.heart.org/news/myocarditis-risk-significant...