29 I will establish his line forever, his throne as long as the heavens endure. 30 "If his sons forsake my law and do not follow my statutes, 31 if they violate my decrees and fail to keep my commands, 32 I will punish their sin with the rod, their iniquity with flogging; 33 but I will not take my love from him, nor will I ever betray my faithfulness. 34 I will not violate my covenant or alter what my lips have uttered. 35 Once for all, I have sworn by my holiness- and I will not lie to David- 36 that his line will continue forever and his throne endure before me like the sun;

Matthew Henry's Commentary on Psalm 89:29-36

Commentary on Psalm 89:19-37

(Read Psalm 89:19-37)

The Lord anointed David with the holy oil, not only as an emblem of the graces and gifts he received, but as a type of Christ, the King Priest, and Prophet, anointed with the Holy Ghost without measure. David after his anointing, was persecuted, but none could gain advantage against him. Yet all this was a faint shadow of the Redeemer's sufferings, deliverance, glory, and authority, in whom alone these predictions and promises are fully brought to pass. He is the mighty God. This is the Redeemer appointed for us, who alone is able to complete the work of our salvation. Let us seek an interest in these blessings, by the witness of the Holy Spirit in our hearts. As the Lord corrected the posterity of David for their transgressions, so his people shall be corrected for their sins. Yet it is but a rod, not a sword; it is to correct, not to destroy. It is a rod in the hand of God, who is wise, and knows what he does; gracious, and will do what is best. It is a rod which they shall never feel, but when there is need. As the sun and moon remain in heaven, whatever changes there seem to be in them, and again appear in due season; so the covenant of grace made in Christ, whatever alteration seems to come to it, should not be questioned.