To be fair, not going to church was about the most impactful thing somebody could to if going to church was a normal activity. And this is probably still saving those people some cases of flu and influenza.
This has to be weighted against the benefit, but in a time of free-spread and lots of people dying, closing churches was a very good policy.