I suppose I can't answer this question objectively, as I'm a teacher myself. But I agree with whomever it was saying that teachers are undervalued in society. It's a problem with capitalism, essentially. The most talented people are flocking to the occupations that pay the highest salaries, creating a situation where there's literally a shortage of teachers. The only way to attract more qualified and competitive candidates to be teachers is to offer salaries and benefits that rival those of competing industries, such as engineering, tech, medicine, oil and gas, finance, etc.
Of course, this is less true for the humanities, since it's harder for those of us without a strong background in quantitative disciplines to go into more lucrative fields (or, being idealistic fuzzies, we're simply more inclined to industries like social work, teaching, and mental health because we find them more fulfilling). The result of this is that the United States teachers are actually doing a generally solid job of promoting literacy, at least according to the PISA international education tests. It's in STEM fields that American students are trailing behind.
But back to the capitalism argument: it's incredibly short-sided to treat our education system as anything less than an investment that is paramount to securing the future welfare of future generations, especially as blue collar, automated work is replaced by jobs requiring high-levels of abstract thinking and learning. Right now teachers across the country are protesting the fact that they're not making enough money to survive. Especially as a teacher of means, there is no way that I would ever move to or stay in a state where I wasn't treated well (ranging from expensive regions like Silicon Valley and Hawaii to states in economic crisis, such as West Virginia and Kentucky). When teachers aren't compensated well, they leave, causing students and communities to suffer.
Of course, none of this changes the fact that there are terrible teachers out there, just collecting (puny) pay checks. But unless we're willing as a country to make an investment in the future of our children and communities... you get what you pay for.
I'm one of the lucky ones. I'm able to teach and pursue my passion largely because I was given really good training (a liberal arts school and a master's degree), and my finances are in a pretty comfortable place (inheriting a good chunk of change from my family and having a partner with a high paying job).