https://time.com/5159848/do-religious-people-live-longer
added sources for other points in the comments as well
added sources for other points in the comments as well
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.