This same idea is repeated in several different ways to emphasize that Yahweh is dependable and able to give aid. (See: [[rc://en/ta/man/translate/figs-parallelism]])
Going to Yahweh for protection is spoken of as taking refuge in him. Alternate translation: "they have gone to him for protection" (See: [[rc://en/ta/man/translate/figs-metaphor]])