Genesis 45:4-5
45:4 Joseph said to his brothers, “Come closer to me,” so they came near. Then he said, “I am Joseph your brother, whom you sold into Egypt.
45:5 Now, do not be upset and do not be angry with yourselves because you sold me here, for God sent me ahead of you to preserve life!
Genesis 45:8
45:8 So now, it is not you who sent me here, but God. He has made me an adviser to Pharaoh, lord over all his household, and ruler over all the land of Egypt.