Read 1 Samuel 9:14 Using Other Translations
And they went up into the city: and when they were come into the city, behold, Samuel came out against them, for to go up to the high place.
So they went up to the city. As they were entering the city, they saw Samuel coming out toward them on his way up to the high place.
So they entered the town, and as they passed through the gates, Samuel was coming out toward them to go up to the place of worship.