Genesis 26:23

23 Then he went up from Gerar to Beer-sheba.