Photo property of Questar: https://secure.questar1.com/catalog/QD3214.html
During the 7 year famine, storage houses had to be built to store 7 years worth of grain. This was not only for Egypt, but for all the surrounding cities and tribes. For the famine hit them also and they had to travel to Egypt to get food and water. Egypt could not survive without the trade of those around them. To let them parish means their economy would fall.