This phrase is used here to mark the beginning of a new part of the story. If your language has a way for doing this, you could consider using it here. (See: [[rc://en/ta/man/jit/writing-newevent]])
"given him safety from all his surrounding enemies." Here "rest" is an abstract noun. Alternate translation: "caused the enemy people groups to stop attacking Israel" (See: [[rc://en/ta/man/jit/figs-abstractnouns]])