Didn’t David live with the Philistines for awhile?
He did—when fleeing from Saul. Feigned insanity so they would consider him harmless. Killed a bunch of them before that, and later too, in battle.
Interestingly, the list of names of David’s “Mighty Men” (his chief warriors) include many Philistine names....
meaning, certain Philistines became loyal to David, and became worshipers of Yahweh.
Yes he did, when he was on the run from Saul..................