When compulsory education in the US was being debated in the early/mid-19th c, Catholics were against it— because, by its nature, public schooling was atheistic/agnostic by default. And Catholicism wasn’t just an hour on Sunday; it was a whole worldview and lifestyle. Which is why they took such trouble to create their own parochial schools.
From an 1852 editorial in the Boston Catholic newspaper,
The Pilot
The general principle upon which these laws are based is radically unsound, untrue, Atheistical… It is, that the education of children is not the work of the Church, or of the Family, but that it is the work of the State… Two consequences flow from this principle… In the matter of education, the State is supreme over the Church and the Family. Hence , the State can and does exclude from the schools religious instruction… The inevitable consequence is, that… the greater number of scholars must turn out to be Atheists, and accordingly the majority of non-Catholics are people of no religion…
The other consequence… leads the State to adopt the child, to weaken the ties which bind it to the parent. So laws are made compelling children to attend the state schools, and forbidding the parents, if they be poor, to withdraw their little ones from the school… The consequence of this policy is… universal disobedience on the part of children… Our little boys scoff at their parents, call their fathers by the name of Old Man, Boss, or Governor. The mother is the Old Woman. The little boys smoke, drink, blaspheme, talk about fornication, and so far as they are physically able, commit it. Our little girls read novels… quarrel about their beaux, uphold Woman’s Rights, and-- … We were a Boston school boy, and we speak of what we know.
That article is hilarious!
“Our little girls are reading novels.”
Oh, the horror!
And “the majority of non-Catholics are people of no religion.” I think the Protestants might have argued that point.
And “our little boys… call their fathers by the name of Old Man, Boss, or Governor. The mother is the Old Woman.”
I suppose even in 1852 it was the school’s fault that parents raised their children to be disrespectful brats.

From an early age, my son knew my “look of death” if he said something inappropriate, and he never did it again.