I think the most important advantage of vaccines is that you get them (J&J aside) twice, which helps build long term protection. Which is why it's recommended to get a single dose of a vaccine if you caught covid, bringing you up to two exposures as well.