20 Therefore the LORD rejected all the people of Israel; he afflicted them and gave them into the hands of plunderers, until he thrust them from his presence.

Read 2 Kings 17:20 Using Other Translations

And the LORD rejected all the seed of Israel, and afflicted them, and delivered them into the hand of spoilers, until he had cast them out of his sight.
And the LORD rejected all the descendants of Israel and afflicted them and gave them into the hand of plunderers, until he had cast them out of his sight.
The LORD rejected all the descendants of Israel. He punished them by handing them over to their attackers until he had banished Israel from his presence.