1 Samuel 6:12

6:12 Then the cows went directly on the road to Beth Shemesh. They went along, mooing as they went; they turned neither to the right nor to the left. The leaders of the Philistines were walking along behind them all the way to the border of Beth Shemesh.

1 Samuel 6:14

6:14 The cart was coming to the field of Joshua, who was from Beth Shemesh. It paused there near a big stone. Then they cut up the wood of the cart and offered the cows as a burnt offering to the Lord.