Keep in mind this ancient story has survived over the centuries because readers of various philosophies and religions have found it interesting and useful for their purposes. Remember, as well, although it might have evolved and changed before it was finally written down in a collection of stories and had perhaps many editors over the years, it did not just drop from the sky. It had its authors. There was a storyteller, or tellers perhaps, but there was an author behind it with views of human behavior and existence.Therefore, apart from the central tale of Joseph and his brothers, there is, for example, the story of Judah and Tamar (38) that has nothing apparent to do with the story that is set in motion when the brothers act in 37.
So, try to consider the entire story, not just selected elements, in your general critical analysis.
the story summary could be found at the following link:-