The formation of the Old Testament