Historical commentary by Matthew Henry. The wording and interpretations below belong to the original source.
An Exhortation to Praise God.
Four things the psalmist expresses in these verses:
I. The great desire he had that God might be praised. He did not think he did it so well himself, but that he wished others also might be employed in this work; the more the better, in this concert: it is the more like heaven. 1. Holy joy is the heart and soul of praise, and that is here pressed upon all good people ( v. 1 ): Rejoice in the Lord, you righteous; so the foregoing psalm concluded and so this begins; for all our religious exercises should both begin and end with a holy complacency and triumph in God as the best of being and best of friends. 2. Thankful praise is the breath and language of holy joy; and that also is here required of us ( v. 2 ): " Praise the Lord; speak well of him, and give him the glory due to his name." 3. Religious songs are the proper expressions of thankful praise; those are here required ( v. 3 ): " Sing unto him a new song, the best you have, not that which by frequent use is worn, thread-bare, but that which, being new, is most likely to move the affections, a new song for new mercies and upon every new occasion, for those compassions which are new every morning." Music was then used, by the appointment of David, with the temple-songs, that they might be the better sung; and this also is here called for ( v. 2 ): Sing unto him with the psaltery. Here is, (1.) A good rule for this duty: "Do it skilfully, and with a loud noise; let it have the best both of head and heart; let it be done intelligently and with a clear head, affectionately and with a warm heart." (2.) A good reason for this duty: For praise is comely for the upright. It is well pleasing to God (the garments of praise add much to the comeliness which God puts upon his people) and it is an excellent ornament to our profession. It becomes the upright, whom God has put so much honour upon, to give honour to him. The upright praise God in a comely manner, for they praise him with their hearts, that is praising him with their glory; whereas the praises of hypocrites are awkward and uncomely, like a parable in the mouth of fools, Prov. xxvi. 7 .
II. The high thoughts he had of God, and of his infinite perfections, v. 4, 5 . God makes himself known to us, 1. In his word, here put for all divine revelation, all that which God at sundry times and in divers manners spoke to the children of men, and that is all right, there is nothing amiss in it; his commands exactly agree with the rules of equity and the eternal reasons of good and evil. His promises are all wise and good and inviolably sure, and there is no iniquity in his threatenings, but even those are designed for our good, by deterring us from evil. God's word is right, and therefore all our deviations from it are wrong, and we are then in the right when we agree with it. 2. In his works, and those are all done in truth, all according to his counsels, which are called the scriptures of truth, Dan. x. 21 . The copy in all God's works agrees exactly with the great original, the plan laid in the Eternal Mind, and varies not in the least jot. God has made it to appear in his works, (1.) That he is a God of inflexible justice: He loveth righteousness and judgment. There is nothing but righteousness in the sentence he passes and judgment in the execution of it. He never did nor can do wrong to any of his creatures, but is always ready to give redress to those that are wronged, and does it with delight. He takes pleasure in those that are righteous. He is himself the righteous Lord, and therefore loveth righteousness. (2.) That he is a God of inexhaustible bounty: The earth is full of his goodness, that is, of the proofs and instances of it. The benign influences which the earth receives from above, and the fruits it is thereby enabled to produce, the provision that is made both for man and beast, and the common blessings with which all the nations of the earth are blessed, plainly declare that the earth is full of his goodness —the darkest, the coldest, the hottest, and the most dry and desert part of it not excepted. What a pity is it that this earth, which is so full of God's goodness, should be so empty of his praises, and that of the multitudes that live upon his bounty there are so few that live to his glory!