So they did this. They took two such cows and hitched them to the cart and penned up their calves.
They placed the ark of the LORD on the cart and along with it the chest containing the gold rats and the models of the tumors.
Then the cows went straight up toward Beth Shemesh, keeping on the road and lowing all the way; they did not turn to the right or to the left. The rulers of the Philistines followed them as far as the border of Beth Shemesh.
Now the people of Beth Shemesh were harvesting their wheat in the valley, and when they looked up and saw the ark, they rejoiced at the sight.
References for 1 Samuel 6:13
The cart came to the field of Joshua of Beth Shemesh, and there it stopped beside a large rock. The people chopped up the wood of the cart and sacrificed the cows as a burnt offering to the LORD.
References for 1 Samuel 6:14
The Levites took down the ark of the LORD, together with the chest containing the gold objects, and placed them on the large rock. On that day the people of Beth Shemesh offered burnt offerings and made sacrifices to the LORD.
References for 1 Samuel 6:15
The five rulers of the Philistines saw all this and then returned that same day to Ekron.
These are the gold tumors the Philistines sent as a guilt offering to the LORD—one each for Ashdod, Gaza, Ashkelon, Gath and Ekron.
References for 1 Samuel 6:17
And the number of the gold rats was according to the number of Philistine towns belonging to the five rulers—the fortified towns with their country villages. The large rock on which the Levites set the ark of the LORD is a witness to this day in the field of Joshua of Beth Shemesh.