You are being downvoted but you are exactly on point. If some fail they may be bad students, but if the majority of my students fail they're not bad students, it is me who is a bad teacher.
I think what he meant is they 'failed' to get it completed on time and it was meant as a teaching lesson.