Data from Israel shows that vaccinated people have a 6.72 times higher chance to get infected than previously infected people: https://www.israelnationalnews.com/News/News.aspx/309762
> More than 7,700 new cases of the virus have been detected during the most recent wave starting in May, but just 72 of the confirmed cases were reported in people who were known to have been infected previously – that is, less than 1% of the new cases.
> Roughly 40% of new cases – or more than 3,000 patients – involved people who had been infected despite being vaccinated.
Optimistically both vaccine and natural immunity are good, but the numbers above seem to indicate that natural immunity is significantly better.