There's a lot of ills in public education, but most of them are inflicted by (or can be traced to) decisions made by the government of the state in which they reside.
Absolutely, there are outstanding private schools---but the whole rush for vouchers nationwide (especially in red states) has created a booming private school ecosystem where it's just a money grab without accountability, but "school choice".
Private schools can be great, but for that whole private thing (fuck the special needs kids or the handicapped and bus them? fuck you, get them here yourself). But the other hidden feature of private schools: no accountability on attendance, testing, whatnot. I'd be interested to know if privates have higher chronic absenteeism as well; I'm guessing that some of the privates really don't give a shit, because they have the money in hand anyway.
My kids attend a smallish public school (almost 3000 students K-12). Going off of their district state report card, the district averaged 90% daily attendance for the 2022-23 school year, all grades combined. Looking back to the 18-19 school year, the attendance averaged 91% daily, so Covid really didn't make a large difference.
It's an interesting study; chronic absenteeism spans all ethnicities, economic groups, etc but in the kids district, there aren't a lot of wealthy families. I'm of the mindset that in a small bedroom community where everyone has to work to get by, the kids have to attend school. And one factor that will increase school attendance---participation in extracurricular activities. Obviously, you can't force students to participate, but those districts that have a high percentage of students who do participate in all likelihood have a lower chronic absenteeism rate.