Inferior in what way? There are several measures of effectiveness. When it comes to consistency of immune response, the vaccines are superior. When it comes to broad spectrum immunity to variants, infection-conferred immunity is superior. When it comes to how long immunity lasts, infection-conferred immunity is vastly superior.