@Koda89: Because it was written by Jews, and it was a creation myth designed to combat the similar creation myth of the Babylonians. The Bible was not written in order, and quite frankly the authors didn't care about historical accuracy, they were writing a fable to preserve their culture.