# they had rest, they did evil again before you
Here "they" refers to the Israelites and "you" to Yahweh.
# you abandoned them to the hand of their enemies
"you abandoned them and allow their enemies to defeat them"