In the Torah, the first five books of the bible, there are various narratives that bear strong resemblance to various Babylonians myths. Notably the story of creation, Adam and Eve, and the flood all have Babylonian precursors. These are discussed in various papers and works, such as the recent book "Hebrew and Babylonian Traditions" by Morris Jastrow (2022). The presumption seems to be that the reason we find this shared tradition is because during the Babylonian Captivity the two cultures exchanged ideas.
However, we find much the same stories in the Samaritan Torah as we find in the Masoretic text and the Septuagint. So, how could this be if the Samaritans were never made exiles in Babylon? The whole tradition of the Samaritans is given as being one continuously occupying Israel and never deported to Babylon. If the Samaritans never emigrated to Babylon, then why would we find the same Babylonian-related narratives in the Samaritan bible, as we find in the books of Hebrews who were exiled?
Example of similar storyline text:
Exodus 12:40 in both the Samaritan and the Septuagint reads: "Now the sojourning of the children of Israel and of their fathers which they had dwelt in the land of Canaan and in Egypt was four hundred and thirty years." In the Masoretic (Jewish) text, the passage reads: "Now the sojourning of the children of Israel, who dwelt in Egypt, was four hundred and thirty years."