A very tiny amount of homework can be beneficial. We don't give a very tiny amount of homework. When my kid was in high school which admittedly was going on a decade ago now I think, I mean they just hit grad school for fuck sake also Christ I'm old, my kid had sometimes 6 to 8 hours of homework on a fucking school night.
From what I heard the local chamber of commerce AKA a bunch of asshole rich businessmen who never worked a day in their fucking lives, lobbied the school board to drastically increase the amount of homework. Enough parents complained that they dropped it to around 4 to 6 hours per night. It wasn't uncommon for me to get up to go pee at night and find my kids still studying.
Anyway to get back on track we know homework isn't effective or useful at educating kids. We all have Google you can find the studies I mean I hope you can. Maybe try chat GTP.
But what homework is really good for is when you have a shitload of kids and you have more kids who are perfectly capable of doing useful work for society then you have opportunities you want to bother giving those kids because we don't have kids do useful work for society we have kids do useful work for ultra wealthy psychopathic asshole billionaires.
Basically it's a way to sort people into how useful they're going to be for billionaires. You dump a bunch of work on them and you see which ones break. The ones that don't break get to move on with their lives and maybe have shelter and healthcare and that they're really lucky when they're too old to work anymore we let them die in peace.
It's like the sorting hat from Harry Potter but somehow still even more fucked up and dystopian when you think about it