1When Jacob learned that there was grain in Egypt, he said to his sons, “Why do you keep looking at one another? 2I have heard,” he said, “that there is grain in Egypt; go down and buy grain for us there, that we may live and not die.” 3So ten of Joseph’s brothers went down to buy grain in Egypt. 4But Jacob did not send Joseph’s brother Benjamin with his brothers, for he feared that harm might come to him. 5Thus the sons of Israel were among the other people who came to buy grain, for the famine had reached the land of Canaan.
6Now Joseph was governor over the land; it was he who sold to all the people of the land. And Joseph’s brothers came and bowed themselves before him with their faces to the ground. 7When Joseph saw his brothers, he recognized them, but he treated them like strangers and spoke harshly to them. “Where do you come from?” he said. They said, “From the land of Canaan, to buy food.” 8Although Joseph had recognized his brothers, they did not recognize him. 9Joseph also remembered the dreams that he had dreamed about them. He said to them, “You are spies; you have come to see the nakedness of the land!” 10They said to him, “No, my lord; your servants have come to buy food. 11We are all sons of one man; we are honest men; your servants have never been spies.” 12But he said to them, “No, you have come to see the nakedness of the land!” 13They said, “We, your servants, are twelve brothers, the sons of a certain man in the land of Canaan; the youngest, however, is now with our father, and one is no more.” 14But Joseph said to them, “It is just as I have said to you; you are spies! 15Here is how you shall be tested: as Pharaoh lives, you shall not leave this place unless your youngest brother comes here! 16Let one of you go and bring your brother, while the rest of you remain in prison, in order that your words may be tested, whether there is truth in you; or else, as Pharaoh lives, surely you are spies.” 17And he put them all together in prison for three days.