Genesis 41:34-36

34Let Pharaoh proceed to appoint overseers over the land and take one-fifth of the produce of the land
Or  over the land and organize the land
of Egypt during the seven plentiful years.
35And blet them gather all the food of these good years that are coming and store up grain under the authority of Pharaoh for food in the cities, and let them keep it. 36That food shall be a reserve for the land against the seven years of famine that are to occur in the land of Egypt, so that the land may not perish through the famine.”

Genesis 47:21

21As for the people, he made servants of them
Samaritan, Septuagint, Vulgate; Hebrew  he removed them to the cities
from one end of Egypt to the other.
Copyright information for ESV