1 Sam 6:2

6:2 diviners. Together with witchcraft and sorcery (Num. 23:23), divination was explicitly condemned in Israel (Deut. 18:10, 14; Jer. 27:9; Ezek. 13:23). It was practiced by some of Israel’s neighbors (Num. 22:7; Ezek. 21:21).

What shall we do. They had the same problem faced by the people of Ashdod (5:8). Moving the ark from place to place inside Philistine territory had failed, making it clear that the only solution was to return the ark to Israel.