MRNA vaccine is highly effective at reducing symptoms and saving lives of those at high risk (e.g., over 65), but it was never effective at preventing infection or stopping transmission. People who were saying that were somewhere between being over optimistic, and spreading disinformation to try to increase uptake.
Studies showed it decreased infection and transmission against the original strain of Covid.[0]
It lost effectiveness against delta and then became nearly ineffective against Omicron (although still helping with reduction of hospitalizations and deaths).
Non-mRNA vaccine is available now (Novavax) and the effectiveness, or lack thereof, seems similar.
"It is now clear for men <40, dose 2 and dose 3 of Pfizer have more myocarditis than sars-cov-2 infection, and this is true for dose 1 and dose 2 of Moderna."
You need to analyze the total risk of both options to state that getting vaccinated is more dangerous, not just the risk of myocarditis following each.