1 Chronicles 1:11 (ESV)

11 Egypt fathered Ludim, Anamim, Lehabim, Naphtuhim,

Egypt is posted as a descendant of Ham. Ludim most likely refers to modern-day Libya. Worth noting is that some Bible versions (such as the NLT, NRSV, and NEB) state that the Philistines emerged from the Caphtorites, and not the Casluhites (as in the ESV). This switch is made on the grounds of Deuteronomy 2:23, Jeremiah 47:4, and Amos 9:7, each of which stating that the Philistines were related to the Caphtorites, a group of people originally associated with the island of Crete and possibly also Cypress.1 That would indicate an Aegean origin for the Philistines, which is confirmed by years of archaeological research.2