That has some validity when classrooms are more demographically homogeneous. However, that era ended +40 years ago.
When classrooms are multi-ethnic, multi-religious, multi-socioeconomic, which parents should the teacher listen to?
Then there is the matter of why is it the school's fault that large percentages of parents don't see to it that their children do their homework?
Because a skillful teacher can encourage students to want to do their homework, with rewards for the effort and not just handing in correct answers that were done by mommy and daddy or a tutor.
It's not hard at all to write assignments that students can do without their support group doing it for them. Homework should be reinforcement for what was learned in the classroom. In many cases, the problem is that the teacher fails to teach something well or at all, and the only students who "get it" are those who have someone else outside the classroom teaching it for them. And then they blame the kid for not having parents who can teach the lesson or pay someone to do so.
After I retired, I spent about four years as math coordinator at a high-end learning center. Some teachers were like gold mines for us....most of our students came from their classes and they needed someone to teach the material.
Public schools in places like New York have always been full of immigrants, many of whom had parents who were illiterate or did not speak English. Those kids still learned basic reading, writing, arithmetic, history, geography - without teachers sending homework home as kids usually had chores after school. (I never had homework in elementary school!) Schools taught the subjects, not a bunch of peripheral nonsense. Sadly, I think many of today’s teachers are not qualified to teach the basics.
Why do children have homework?
There is no reason why pre high school a child should have homework.