That was one theory and may be partially true. The Philistines if they are truly the descendants of the “Sea Peoples” are likely more then one group. I’ve seen theories that some came from Sicily and even further west.
The Sea Peoples are a reference to the Greeks.