30. Many ancient peoples worshipped Dagon.

Ancient pantheons did not arise in isolation among disparate people groups. Instead, when different cultures encountered each other, they often exchanged gods, adding each other’s deities to their own pantheons. Consider that the Roman and Greek gods are almost exactly the same, only with different names.
Given that the Philistines were seafarers, one should not be surprised that their chief deity was quite ubiquitous in the ancient Near East. Ancient Sumerian (modern Iraq) sources speak of him, as well as Ugaritic sources from other parts of the Near East. Belief in him may have traveled along trade routes.