We have a very similar situation on rural areas on my country. Saddest part is, there's very little teachers can actually do about it. It's up to every family how to rise their kids.
Environment and public resources are out of your hands as a teacher, but you can always do your best with the few kids really trying to grow a powerful mind.