You are right. Homework is a way of passing on responsibility. The schools are lazy so they pass on the work to the parents.
I wish I could homeschool. That’s when homework makes sense.
Most of the homework is not “graded”, just processed as done or not done. It’s part of the regulation of the pupils, who are for the most party quite unruly.