The Hebrew Bible is the supreme example of that rarest of phenomena, a national literature of self-criticism. Other ancient civilisations recorded their victories. The Israelites recorded their failures. It is what the Mosaic and prophetic books are about.