History and Ideology in the Old Testament