In Psalm 48 the enemies have been dealt with, and the peaceful, righteous reign of the Son of David, who is David's Lord, is described; the character of Solomon's glorious reign, except as it was marred by his sad failure, is seen to be a foreshadowing of the thousand years' reign of Christ after the preliminary judgments of which David's reign was an illustration or "type."
The sorely tried remnant had been asked by the hardened sinners (Psalm 42) "Where is thy God?" Then, they had to endure with patience, but now, they can answer in the language of verses 8, 12, 13.
Faith has its sure reward.