When the famine had spread all over the country, Joseph opened all the storehouses and sold grain to the Egyptians. He did this because the famine was severe in Egypt.