Genesis 41:46-50 King James Version (KJV)
46 And Joseph was thirty years old when he stood before Pharaoh king of Egypt. And Joseph went out from the presence of Pharaoh, and went throughout all the land of Egypt.
47 And in the seven plenteous years the earth brought forth by handfuls.
48 And he gathered up all the food of the seven years, which were in the land of Egypt, and laid up the food in the cities: the food of the field, which was round about every city, laid he up in the same.
49 And Joseph gathered corn as the sand of the sea, very much, until he left numbering; for it was without number.
50 And unto Joseph were born two sons before the years of famine came, which Asenath the daughter of Potipherah priest of On bare unto him.
Genesis 41:46-50 New International Version (NIV)
46 Joseph was thirty years old when he entered the service of Pharaoh king of Egypt. And Joseph went out from Pharaoh’s presence and traveled throughout Egypt. 47 During the seven years of abundance the land produced plentifully. 48 Joseph collected all the food produced in those seven years of abundance in Egypt and stored it in the cities. In each city he put the food grown in the fields surrounding it. 49 Joseph stored up huge quantities of grain, like the sand of the sea; it was so much that he stopped keeping records because it was beyond measure.
50 Before the years of famine came, two sons were born to Joseph by Asenath daughter of Potiphera, priest of On.