If you type 'is natural immunity better than vaccines' in google

No.14028330 ViewReplyOriginalReport
You get a paper on medrxiv published on august 2021 with 45 citations.
>Comparing SARS-CoV-2 natural immunity to vaccine-induced immunity: reinfections versus breakthrough infections

The conclusions :
>This study demonstrated that natural immunity confers longer lasting and stronger protection against infection, symptomatic disease and hospitalization caused by the Delta variant of SARS-CoV-2, compared to the BNT162b2 two-dose vaccine-induced immunity. Individuals who were both previously infected with SARS-CoV-2 and given a single dose of the vaccine gained additional protection against the Delta variant.