Even your post suggests that teachers are to blame for poor educational outcomes
Teachers are a part of the equation of educational outcomes. Parents and economics, I agree, have far more to do with results. But barring extreme circumstances, you can't do anything about a child's parents. You can far more easily do something about their school and their teacher. And I had teachers growing up who ranged from those fostering my love of learning and enriching my young life... to those making every day a litany of scorn and drudgery.
My partner works in a primary school across town, and sees every day what leads to poor educational outcomes.
I'm sure your partner is a very good teacher, and deserves great praise for it. But sure she/he would admit that there are good teachers and bad teachers, just like there are people who are good and bad at any job.
Wouldn't she/he want to get paid more for being good at teaching vis-a-vis someone else who didn't put in as much effort or have the same skills? I'm not saying it's a panacea, but I cannot help but believe that paying better teachers more would make the profession more attractive and more rewarding. What's wrong with that and why won't teachers' unions even countenance the idea?