My understanding is that the opposite is true, at least based on what we know right now. Here is an article summarizing just that[1], which links to a few peer-reviewed studies (and a couple that are pending review) suggesting that the vaccines are better than natural immunity.
I don't have any background in this or agenda or anything, so don't shoot the messenger - just sharing what I understand to be the opinion of at least some of the medical community.
> "Vaccines are highly efficacious," Fauci concluded. "They are better than the traditional response you get from natural infection."
[1]: https://www.businessinsider.com/fauci-why-covid-vaccines-wor...