Cairo is the capital of Egypt and is the largest city with a population of 10 million.
Who was the Pharaoh of the Exodus? Amenhotep II (18th Dynasty) 1 Kings 6:1
Early Exodus view 15 century 1446 BC
https://www.youtube.com/watch?v=2JusQxiTXnE "The Exodus Pharaoh Explained!" 18th dynasty palace is in ancient site of Avaris (P Ramses was built on top of it).
For thousands of years the Nile River flooded every year and saturated the farming land with rich nutrients. It also carried sediments to the mouth of the Nile that emptied into the Mediterranean Sea and century after century gradually extended the delta outward. That explains why Goshen is not along the coastline anymore.
Gen 47:11 Now Joseph settled his father and his brothers and gave them property in the land of Egypt, in the best of the land, in the land of Rameses, as Pharaoh had ordered.
Genesis 47:27 Now Israel lived in the land of Egypt, in Goshen, and they acquired property in it and were fruitful and became very numerous.
For the complete story of how the Hebrews came to live in Goshen read the story of Joseph, Genesis 37-47.