# they were defeated by Israel
This can be stated in active form. Alternate translation: "Israel had defeated them" (See: [[rc://en/ta/man/translate/figs-activepassive]])
# they made peace with David and served them
They made the peace agreement with David as the king, and served the Israelites.