What does Genesis 26:2 mean?
Famines were not uncommon in the land of Canaan, and they often forced migrations as people moved around to find more fertile territory and food. These might have been caused by periods of pests, drought, or other environmental problems. Genesis 12 describes the famine that forced Abraham and Sarah to travel with their company down to Egypt in search of relief.This is another, separate famine. Isaac and his family have moved to Gerar, where Abimelech rules as king of the Philistines. Now the Lord appears to Isaac and commands him not to go to Egypt. Perhaps relations between the Egyptians and the family of Abraham have not yet healed—Abraham was evicted from the country many decades prior for lying about his wife (Genesis 12:18–20).
As the following verses will make clear, the Lord wants to show Isaac that He will provide the same blessing and protection to him that He gave to Abraham. His instructions to Isaac echo those given to Abraham, many decades earlier (Genesis 12:1).