My daughter refused to do school work and I took her out of middle school and began homeschooling her. She missed the social interactions and now she wants to go back. There might still be a struggle but at least i have some leverage.
Now, with kids who have add adhd ocd odd etc we parents have to be involved if we want them to succeed. This means checking homework, explaining lessons they didn’t understand or getting extra tutoring.
With my 6 year old, we worked on school material everyday after school because during school hours he would waste his time and not finish worksheets, etc. I sat and read the stuff with him and quizzed him. That’s how he passed the year.
He is young, but kids who have this type of situations need help regardless of the age.
Someone has to help him if you want him to graduate.
One day at a time. One step at a time.