I suspect it has to do with extreme poverty. When you fell into extreme poverty, you also lost your dignity and sanity. Being pious religious is often only a cover.