People are people and writers are writers. Whether they lived in 500 BCE or today. There is nothing more magical or mysterious about the ancient writing process than there is in the modern one. Once we treat the stories as stories written by humans just like us, we can glean a lot of information about the writers and the world they inhabited when they wrote their biblical stories.
Each writer, biblical or otherwise, writes in their own way. They can only do so from their own perspective, inner world and the reality around them, using preferred words and expressions. Once we identify the writer's fingerprint, we can find real actual biblical writers that we know existed, and see if there is one with an identical style, perspective and word choice.
It's been 150 years ago since we were first able to read the different layers of several biblical books, which were sewn together in editing to form the Bible we have today. Scholars named this finding the Documentary Hypothesis, and it allows us to read each of those layers separately, as it was written and meant to be read. This is an extremely valuable tool to seperate the layers
Every form of art changes and evolves over time, according to what is going on in society at that time. When people cross a dramatic historical crossroads, the stories they tell change dramatically. So here are the dramatic historical events that spurred the Hebrews to write.
Here are the pivotal moments when the Bible was written and/or edited.
*The following is a summary of the podcast episodes. For full details, see the podcast
Shortly after 600 BCE, the Babylonians attacked, laid siege and took thousands of Hebrews captive on several occasions, until the final destruction of Jerusalem in 587 BCE. This disaster led two Hebrew scribes taken captive to Babylonia and one scribe who fled to Egypt to write stories set in the past, but about what they and their communities went through at the hands of the Babylonians.

In 539 BCE, Cyrus, King of Persia, conquered Babylonia, and on the first day of spring, 538 BCE, he allowed all peoples held captive by the Babylonians to return to their homeland, rebuild their temples and take with them the holy artifacts the Babylonians had stolen. Thousands of Hebrews returned, in several waves until around 450 BCE, though most stayed and thrived in Persia, which was where they wrote their new batch of stories.

In 323 BCE, Alexander the Great conquered Persia and began the Hellenistic Age. The Hebrew land was first under the control of Ptolemaic Egypt and then the Seleucid Empire. In 167 BCE, a popular Hebrew revolt erupts and morphs into a war of independence against the Seleucids and a civil war against the Hebrew priests, who were allied with the Seleucids. In 140 BCE, the Maccabees officially celebrated their independence under the Maccabean leader Shimon Thassi, who presented to the people an edited and expanded Maccabean-Levite Bible.
