What does Psalm 52:6 mean?
The assumed judgment of Doeg (Psalm 52:1; 1 Samuel 22:9–10, 17–19) would be his dramatic death (Psalm 52:5). David anticipates a particular reaction to this outcome. In short, he expects godly people to further honor and respect the Lord, while shaking their heads at someone who arrogantly ignored what was good."The righteous," in this context, are those who submit to the Lord and follow His will (Psalm 1:6). Seeing the earthly punishment of an evil person would cause such persons to further praise God and affirm their respect for His sovereignty (Deuteronomy 6:1–9; 13:1–5; 1 Timothy 5:20). While God is saddened when a person turns from Him (Ezekiel 18:32), He entirely rejects their arrogant attitude (Psalm 2:1–6). In the same way, those who love God can "laugh" at this fate—but in a sense of dismissal and vindication, not amusement.
Psalm 40:4 says, "Blessed [happy] is the man who makes the Lᴏʀᴅ his trust, who does not turn to the proud, to those who go astray after a lie!" Scripture does not record any resolution to Doeg's heinous murder of Ahimelech and the other priests (1 Samuel 22:17–19). David seems convinced that well-deserved consequences will follow. Galatians 6:7 promises that "God is not mocked, for whatever one sows, that will he also reap." In Noah's era, mankind continually wallowed in evil (Genesis 6:5). Their depraved character and violent conduct caused the Lord to destroy them by bringing a flood (Genesis 6:6, 13). Yet not all retribution for sin happens during our earthly lives. What's certain is that God will judge the wicked, eventually. Second Thessalonians 1:7–10 promises that at Jesus' return the wicked will experience the Lord's vengeance in the form of the punishment of eternal destruction.