Here "turns to" is a metaphor that means to become loyal to someone. Alternate translation: "when a person starts to worship the Lord" or "when a person starts to trust in the Lord" (See: [[rc://en/ta/man/jit/figs-metaphor]])
God gives them the ability to understand. This can be stated in active form. Alternate translation: "God lifts the veil away" or "God gives them the ability to understand" (See: [[rc://en/ta/man/jit/figs-activepassive]])