Less to do with the teachers themselves and more to do with the system in place, including apathy from policy makers and parents. We're in an age where members of society simply feel the need to blame others for their own shortcomings. Teaching as a profession will always end up criticized because as a governmental service policy makers can directly make changes to it. In essence, it's a lot easier to blame teachers and to implement "No Child Left Behind" type policies than to get parents to raise their children better. Many children cannot read and write properly, even given every technological advantage and innovation in education, because they simply don't care to and parents do not act as a disciplinarian to them. Schools are also pressure to actually reduce discipline in many cases, as instances of being sent for such are recorded and make a school (and thus principal) look bad.
I'll fully admit that there are teachers in the field who might not be the best, and that having a license and degree isn't a guarantee of any quality beyond a simple baseline standard to start or continue to work in the field. However, I feel that many deficiencies in education today aren't necessarily due to the quality of teachers but has much more to do with the number of distractions in kids' lives. It also doesn't help that in places such as America kids aspire to be influencers, Youtubers, and Tik-Tok'ers. I don't know how to teach kids how to sing and dance on a camera, sadly heh.