2. He will do it in compassion to his own people, who, though they had greatly provoked him, yet stood in relation to him, and their misery appealed to his mercy (v. 36): The Lord shall judge his people,. that is, judge for them against their enemies, plead their cause, and break the yoke of oppression under which they had long groaned, repenting himself for his servants; not changing his mind, but changing his way, and fighting for them, as he had fought against them, when he sees that their power is gone. This plainly points at the deliverances God wrought for Israel by the judges out of the hands of those to whom he had sold them for their sins (see Judg. ii. 11-18), and how his soul was grieved for the misery of Israel (Judg. x. 16), and this when they were reduced to the last extremity. God helped them when they could not help themselves; for there was none shut up or left; that is, none that dwelt either in cities or walled towns, in which they were shut up, nor any that dwelt in scattered houses in the country, in which they were left at a distance from neighbours. Note, God's time to appear for the deliverance of his people is when things are at the worst with them. God tries his people's faith, and stirs up prayer, by letting things go to the worst, and then magnifies his own power, and fills the faces of his enemies with shame and the hearts of his people with so much the greater joy, by rescuing them out of extremity as brands out of the burning.