Yeah, I'd have to say there's a sliding scale there. The lack of pay, especially considering the hard work teachers do and the amount of BS they have to put up with, is a deterrent to a lot of folks.
Imagine busting your hump to get your schooling and credentials, then not having enough money to live on let alone pay off your student loans.