Immediate vaccination does not inhibit long term protection. If the vaccine efficacy wanes to a significant degree (which is not a given for each individual), then you are still in a better place than having never been vaccinated. The safest way to get covid is as a vaccinated person. Not the other way round. There is no "tak[ing] one for the team" here.