(1.) By reforming his church, and restoring good judges in the room of those corrupt ones. Though the church has a great deal of dross in it, yet it shall not be thrown away, but refined (v. 25): "I will purely purge away thy dross. I will amend what is amiss. Vice and profaneness shall be suppressed and put out of countenance, oppressors displaced, and deprived of their power to do mischief." When things are ever so bad God can set them to rights, and bring about a complete reformation; when he begins he will make an end, will take away all the tin. Observe, [1.] The reformation of a people is God's own work, and, if ever it be done, it is he that brings it about: "I will turn my hand upon thee; I will do that for the reviving of religion which I did at first for the planting of it." He can do it easily, with the turn of his hand; but he does it effectually, for what opposition can stand before the arm of the Lord revealed? [2.] He does it by blessing them with good magistrates and good ministers of state (v. 26): "I will restore thy judges as at the first, to put the laws in execution against evil-doers, and thy counsellors, to transact public affairs, as at the beginning," either the same persons that had been turned out or others of the same character. [3.] He does it by restoring judgment and righteousness among them (v. 27), by planting in men's minds principles of justice and governing their lives by those principles. Men may do much by external restraints; but God does it effectually by the influences of his Spirit, as a Spirit of judgment, ch. iv. 4; xxviii. 6. See Ps. lxxxv. 10, 11. [4.] The reformation of a people will be the redemption of them and their converts, for sin is the worst captivity, the worst slavery, and the great and eternal redemption is that by which Israel is redeemed from all his iniquities (Ps. cxxx. 8), and the blessed Redeemer is he that turns away ungodliness from Jacob (Rom. xi. 26), and saves his people from their sins, Matt. i. 21. All the redeemed of the Lord shall be converts, and their conversion is their redemption: "Her converts, or those that return of her (so the margin), shall be redeemed with righteousness." God works deliverance for us by preparing us for it with judgment and righteousness. [5.] The reviving of a people's virtues is the restoring of their honour: Afterwards thou shalt be called the city of righteousness, the faithful city; that is, First, "Thou shalt be so;" the reforming of the magistracy is a good step towards the reforming of the city and the country too. Secondly, "Thou shalt have the praise of being so;" and a greater praise there cannot be to any city than to be called the city of righteousness, and to retrieve the ancient honour which was lost when the faithful city became a harlot, v. 21.