Here is a quote from John Shuck's blog about how one can find value in the five books of the Pentateuch even though they are the produce of "editing and stitching" by editors who joined together various source stories that don't always fit together seamlessly:
It is important to appreciate this editing and stitching so we don’t get too literal-minded and misread this saga of the Hebrew Scriptures as a straightforward history. Scholars are increasingly discovering that the Hebrew Scriptures are far more story than history. While some may feel that this discovery is a loss or even a threat, I find it as a gain. The scriptures are far more interesting to me when I see them as the struggle through story and saga of what it means to be human.