You were sold off to the nations, but not to be destroyed. It was because you goaded God to anger that you were handed to your adversaries.
In context
4How fortunate we are, Israel: what pleases God has been made known to us. 5Take heart, my people, Israel’s remembrance. 6You were sold off to the nations, but not to be destroyed. It was because you goaded God to anger that you were handed to your adversaries. 7For you provoked the one who made you, sacrificing to demons and not to God. 8You forgot the everlasting God who reared you, and you brought grief on Jerusalem, who nursed you.