Genesis 12:10, 41:53-57

Because of a famine, Abram (not yet Abraham) went to Egypt.  Many chapters later, there was a worldwide famine and many, including Abraham and Sarah’s grandson, Jacob, were affected.  Getting help was easier in the 2nd famine since Joseph, Jacob’s son, was in charge of the food in Egypt.