Ah. OK. Which book/verse was OP referring to?
Do you mean Job was authored before Genesis?
Yes, Job is older than Genesis. Job is thought to have been written during or just before the time of Abraham, while Genesis is written by Moses, which came hundreds of years after. Modern day protestants place Job as the 3rd book of the wisdom serious (1st Proverbs, 2nd Ecclesiastes, and 3rd Job) where Proverbs states what people can do to gain wisdom, Ecclesiastes actually argues that not of of Proverbs are that simple, and Job tells a story of Job himself that ties the understanding of wisdom altogether; that wisdom isn't just something you learn, it's something you tap into.
Understanding Job (and the wisdom series) is actually key to understanding Genesis, as is understanding who the book of Genesis is written to/for. If you interpret the Genesis creation story literally, then you run into a tremendous amount of controversy, and the very thing that the Tree of the Knowledge of Good and Evil argues against. Take in point, this thread is over 3 years old, yet we still continue to debate it. But the Book of Genesis is not written to modern day scholars and 21st century Americans like us. It was written to the Israelite's coming out of Egypt. Allow me to translate what that group of people really were: They were former slaves, they had a slave/warfare mentality, they were used to being told what to do, they had no self worth, no self identity, had no concept of ownership, and their only grid for understanding how to function in a society was that of the Hammurabi Code, which is quite barbaric by modern standards. These weren't educated scholars, they were slaves. Even God became frustrated with them on multiple occasions and nearly wiped them out. In fact, he almost wiped out all of the Israelite's at Mount Sinai while the 10 commandments were being written, stating that he would fulfill his promise to Abraham through Moses, but Moses intervened and saved them from destruction.
So let me ask you guys. If I'm a slave just coming out of Egypt who might be listening to the Genesis story, do you think I'm going to benefit from knowing the exact detail of how the earth was created? Not at all, because that was never the intention of the Genesis story.
The true intention of the Genesis story when Moses wrote it was to re-establish identity. The Jewish concept of 7 days is to show completeness, not 7 actual days (6 days of creation + 1 day of rest). To the Israelite's who would have been listening to this, they would have recognized that it for what they would have culturally recognized, and coming out of Egypt where there were multiple creation stories and that different gods created different things, Moses establishing in Genesis that God created all of creation wholly and completely by Himself. Additionally, what is always missed in Genesis 1 is that line, "And God saw that it was good." This, too, is stated 7 times. Tying the knot to the creation story, God gives all dominion and authority of the earth to mankind. To a society that views themselves as slaves, who own nothing, and who have no concept of self-worth, this is a revolutionary concept, and even one that many people still struggle with today.
So where does Job fit in? In the story of Job, you are presented with the story of a man who is faithful to God, but God allows all of his possessions to be taken away, much of his family to be killed, and his health and wealth to be stripped of him. His friends mistakenly accuse him of harboring sin in his life, but Job remains adamant that he has not sinned. But as the story progresses, Job becomes increasingly legalistic, demanding that he be presented before God to state his case. He's very much on an emotional roller-coaster, and goes back and forth between praising God for his goodness, and whining that he doesn't deserve the condition he is in, and that he needs to argue his case in a courtroom before God. Finally, God speaks to Job through a storm, which I may add is some of the most powerful, beautiful, and amazing scripture to read if anyone ever wants to read it (starts in Job 40 I think). He basically says, "Job, you're not me, and you don't think like I do. May thoughts aren't your thoughts. You don't see the detail that I do." God takes Job on a tour to His creation, and points out that the things which Job viewed as evil, destructive, or untamed are actually good. And in this process, Job is humbled, and he repents of the way he handled himself. Job realizes that he can trust in God's wisdom and goodness regardless of the circumstances of his surroundings. The book ends with God blessing Job far more than what was originally taken away.
In contrast, the story of Adam and Eve, as we all know, ends much differently. Adam and Even are placed in the Garden of Eden (which is probably more appropriately translated as an Enclosure of Pleasure) where they are set apart from all animals, livestock, and plants, and are given dominion and authority over the earth. That last part is very key. There, God walks with Adam, and even has all the animals in the garden come together just to see what Adam would name them (this shows that the original intention of God is to co-labor with us, not to rule us). And in the middle of the Garden of Eden, God places two trees: The Tree of Life and the Tree of the Knowledge of Good and Evil. Unfortunately, because they represent many things, modern scholars like to over-complicate what these two trees are, but it represents choice. The tree of life represents those who choose to walk in a co-laboring, son-ship relationship with God. It means to actually walk and talk with God, to live in His image, and this choice is still present for anyone to take. Abraham got this, and God called him his friend - not his slave, not his subject, not his employee, but his friend. The tree of the knowledge of good and evil also has multiple meanings. It means to not be in relationship with God. It means to do things by yourself, to define good and evil as you see fit, and what Israelite's coming out of Egypt would have recognized; "good-evil" is an Egyptian merism for "everything". It's not just the tree of the knowledge of good and evil, it's the tree of the knowledge of everything. Job demanded answers, facts, and demanded that his cases be presented before God as that like a courtroom. In essence, Job doubted God, and this helps us understand a little more of what the true sin Adam and Eve were guilty of.
The difference though is how Job handled his doubt and how Adam and Eve handled their sin. In the story of Job, Job takes ownership of himself. He realizes the error of his ways and is humbled in the process. For Adam and Eve, Eve blames the serpent, and Adam blames Eve. Neither takes ownership of themselves. And when God confronts them, neither of them take ownership of themselves. For this reason, God is forced to kick them out of the garden in an act of mercy. To Israelite's listening to this story, the purpose was to teach them identity that they were not slaves, that God actually wants them to take ownership for themselves and not place blame on others, and to walk and talk with him so that they can fulfill their dreams of who they were truly created to be.
Notice the difference? The purpose was never, ever to debate how God created the universe. The purpose was always to establish identity.