42:1 When Jacob learned that there was grain for sale in Egypt, he said to his sons, “Why do you look at one another?” 2 And he said, “Behold, I have heard that there is grain for sale in Egypt. Go down and buy grain for us there, that we may live and not die.” 3 So ten of Joseph's brothers went down to buy grain in Egypt. 4 But Jacob did not send Benjamin, Joseph's brother, with his brothers, for he feared that harm might happen to him. 5 Thus the sons of Israel came to buy among the others who came, for the famine was in the land of Canaan.
6 Now Joseph was governor over the land. He was the one 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. 7 Joseph saw his brothers and recognized them, but he treated them like strangers and spoke roughly to them. “Where do you come from?” he said. They said, “From the land of Canaan, to buy food.” 8 And Joseph recognized his brothers, but they did not recognize him. 9 And Joseph remembered the dreams that he had dreamed of them. And he said to them, “You are spies; you have come to see the nakedness of the land.”
45:1 Then Joseph could not control himself before all those who stood by him. He cried, “Make everyone go out from me.” So no one stayed with him when Joseph made himself known to his brothers. 2 And he wept aloud, so that the Egyptians heard it, and the household of Pharaoh heard it. 3 And Joseph said to his brothers, “I am Joseph! Is my father still alive?” But his brothers could not answer him, for they were dismayed at his presence.
4 So Joseph said to his brothers, “Come near to me, please.” And they came near. And he said, “I am your brother, Joseph, whom you sold into Egypt. 5 And now do not be distressed or angry with yourselves because you sold me here, for God sent me before you to preserve life. 6 For the famine has been in the land these two years, and there are yet five years in which there will be neither plowing nor harvest. 7 And God sent me before you to preserve for you a remnant on earth, and to keep alive for you many survivors. 8 So it was not you who sent me here, but God. He has made me a father to Pharaoh, and lord of all his house and ruler over all the land of Egypt. (ESV)