Genesis 26:1

King James Version (public domain)

Traditionally attributed to Moses · c. 13th century BC · The Pentateuch — Genesis, Exodus, Leviticus, Numbers, and Deuteronomy — is traditionally attributed to him

And there was a famine in the land, beside the first famine that was in the days of Abraham. And Isaac went unto Abimelech king of the Philistines unto Gerar.

A famine prompts Isaac to travel to Gerar, where he encounters King Abimelech of the Philistines.

Context

1And there was a famine in the land, beside the first famine that was in the days of Abraham. And Isaac went unto Abimelech king of the Philistines unto Gerar.

2And the LORD appeared unto him, and said, Go not down into Egypt; dwell in the land which I shall tell thee of:

3Sojourn in this land, and I will be with thee, and will bless thee; for unto thee, and unto thy seed, I will give all these countries, and I will perform the oath which I sware unto Abraham thy father;