The Book of Genesis, the first book of the Hebrew Bible and the Christian Old Testament, was probably written in the 6th century BC. It tells the story of the creation of the world, the fall of humanity, the history of the patriarchs and matriarchs of Israel, and the exodus from Egypt. Genesis is a foundational text for both Judaism and Christianity, and it contains many of the most important stories in the Bible, such as the creation of Adam and Eve, the fall, the flood, Noah's ark, the Tower of Babel, Abraham and Isaac, Jacob and Esau, Joseph and his brothers, and Moses and the exodus.