Pre-COVID data suggesting "gathering regularly in person makes you live longer" would seemingly be not as relevant now.
Additionally, I see no control for "religiousness" of the gathering, only "The simple act of congregating with a like-minded community might deserve much of the credit."
So, per your own source, "be religious" is not what would extend your life and is therefore not accurate advice.