Where did the Israelites record their history and their religious beliefs