The commenter stated that the vaccine had no benefit to previously infected. That is not true. From the article you reference:
"The researchers also found that people who had SARS-CoV-2 previously and received one dose of the Pfizer-BioNTech messenger RNA (mRNA) vaccine were more highly protected against reinfection than those who once had the virus and were still unvaccinated."