military defeat and repentance