What does 1 Samuel 6:2 mean?
The Philistine people were desperate to get the ark of the Lord out of their region. As far as most of them were concerned, it had brought nothing but death and disease and suffering and terror during the entire seven months it had been in their possession (1 Samuel 5:11–12).The decision seems to have been made to send the ark back to the Israelites. Some, however, wanted to conduct one more test. They hoped it was a coincidence that the ark had been present for all the suffering they had experienced (1 Samuel 6:9).
The people call for the priests and diviners, the pagan religious experts of their region, to come and advise on how best to send the ark back to Israel. According to the theology of the time outside of Israel, angry gods had to be appeased with the right kinds of sacrifices to get them to stop inflicting harm on the people. The Philistines believed they would need to give something special to Israel's God, along with returning Him to His people, so He would stop the tumors and panic.
None of this really mattered to the Lord. He alone is God, and no other gods exist to be appeased. He was provoking the Philistines to return the ark to Israel, but He was not doing it to get special sacrifices from the Philistines. He did not participate in their worship in any way.