Teachers aren't my most valued resource by a long shot, and if you think $40,000 a year is "scraping by," you've never tried to live on $20,000.
I agree with you. In the district I live in, new teachers start at $40K for a short work year (approx. 190 days) and good benefits. I think that is very generous for a young adult right out of college.