Then when he says, "serve": after understanding, he fittingly sets forth service, because the service of God, which is latria, is the profession of faith. And therefore one must first believe, and afterward confess and serve: Rom. 10: "With the heart one believes unto justice, and with the mouth," etc. He says, moreover, "the Lord": for he who serves a man, it suffices that he be outwardly subject to him by obeying; but he who serves God must be inwardly subject to him according to the soul, having a good affection: Ps. 61: "Now my soul shall be subject to God," etc. He says, moreover, "in fea...r," which is holy and abiding, and does not allow one to sin, so that "let him who thinks he stands take heed lest he fall" (1 Cor. 10). And it should be noted according to Augustine that a king serves God insofar as he is a man, by living justly in himself; but insofar as he is a king, by enacting laws against those things that are against God's justice. Hence in this Psalm the state of the Church is prefigured: for in the beginning the kings of the earth made laws against Christ and Christians, but afterward they established laws for Christ. And the first is shown when he said, "they stood up"; the second at "serve the Lord." But lest this service should seem to be misery, he added: "and rejoice in him with trembling." For the fear of the Lord is not of misery but of joy; on which account Lev. 10: "Aaron answered Moses: How can they please God with a sorrowful mind?" But lest this joy should give rise to presumption or negligence, he adds, "with trembling," which is a sudden fear: Phil. 2: "Work out your salvation with fear and trembling."
The fear of God avails for introducing the rectitude of divine justice. "The fear of the Lord drives out sin. For he who is without fear cannot be justified." Injustice does not enter the soul except through sin: but the first justification of the soul is that it be subject to the divine majesty. "If you do not hold yourself steadfastly in the fear of the Lord, your house will quickly be overturned." Consider David, who says: "Serve the Lord in fear, and rejoice in him with trembling."
It can also be taken thus, “And now ye kings understand;” that is, And now that I am set as King, be ye not sad, kings of the earth, as if your excellency were taken from you, but rather “understand and be instructed.” For it is expedient for you, that ye should be under Him, by whom understanding and instruction are given you. And this is expedient for you, that ye lord it not with rashness, but that ye “serve the Lord” of all “with fear,” and “rejoice” in bliss most sure and most pure, with all caution and carefulness, lest ye fall therefrom into pride.
“Serve the Lord with fear;” lest what is said, “Ye kings and judges of the earth,” turn into pride: “And rejoice with trembling” (ver. 11). Very excellently is “rejoice” added, lest “serve the Lord with fear” should seem to tend to misery. But again, lest this same rejoicing should run on to unrestrained inconsiderateness, there is added “with trembling,” that it might avail for a warning, and for the careful guarding of holiness.
He admonisheth, moreover, by such an example, that no one ought to lift himself up in prosperous circumstances. For many fear adverse circumstances, fear not prosperous circumstances. Prosperity is more perilous to soul than adversity to body. First, prosperity doth corrupt, in order that adversity may find something to break. My brethren, stricter watch must be kept against felicity. Wherefore, see ye after what manner the saying of God amid our own felicity doth take from us security: “Serve ye,” He saith, “the Lord in fear, and exult unto Him with trembling.” In exultation, in order that we... may render thanks; in trembling, lest we fall.
If you remember the Judge only when you are in difficulties as one who inspires fear and who is incorruptibly honest, then you have not as yet learned to "serve the Lord in fear and to rejoice in him with trembling." For understand this point well: one is to worship him even in spiritual relaxations and in times of good cheer with even more piety and reverence.
Even your very rejoicings therefore ought to be done with fear and trembling, for a Christian who is faithful ought to repeat neither a heathen hymn nor an obscene song, because he will be obliged by that hymn to make mention of the idolatrous names of demons; and instead of the Holy Spirit, the wicked one will enter into him.