How does Deuteronomy teach that hardship can lead to repentance and renewal?