Therefore you are to make images of your tumors and images of your mice that are ruining the land, and you are to give glory to the God of Israel. Perhaps he will lighten his hand from off you and from off your gods and from off your land. Bible other translations

“to give glory to the God of Israel.” This does not mean that the Philistines would start worshiping Yahweh. Rather, giving glory to God in this context is giving recognition of His power (cp. Rev. 11:13).

Commentary for: 1 Samuel 6:5