This is a generalization referring to many of the people there. Alternate translation: "those who lived in Lydda and in Sharon" or "many people who lived in Lydda and Sharon" (See: [[rc://en/ta/man/translate/figs-hyperbole]])
Here "turned to the Lord" is a metaphor for starting to obey the Lord. Alternate translation: "and they repented of their sins and started obeying the Lord" (See: [[rc://en/ta/man/translate/figs-metaphor]])