They went outside the city of Gedor to the east side of the valley to look for pasture for their flocks.