Why Not Force People to Attend Church?

After all, in principle would mandatory church service be any different than forcing people to purchase health insurance? In both cases, people would be forced to do these things for their own good and for the good of society. What’s wrong with that, at least from the standpoint of a welfare statist?