What does Psalm 35:27 mean?
Prior verses included some of David's "imprecatory prayers:" requests for God to actively, immediately judge his enemies. For the man anointed to lead God's chosen people, in an earthly nation meant to produce the Messiah, these types of prayers made a certain amount of sense. That does not mean that Christians, today, are expected to pray for their enemies' immediate destruction (John 18:36; Matthew 5:44–48). Instead, we're to note that God will enact vengeance in His own time and leave it at that (Romans 12:17–21).After those harsh words, David's psalm ends on a positive note. David has recently asked God to prevent his enemies from celebrating his demise; in contrast, he asks the Lord to cause those who love David to "shout for joy and be glad." Not everyone in Israel opposed David; many hoped he would be vindicated. Trusting in the Lord to prove him blameless (Psalm 35:23–24), David anticipates a great swell of joy in the hearts of those who sided with him.
However, David is not asking for his allies to glory in him. He wants them to ascribe glory to God, praising Him for what His deliverance of David implies. Although the Lord appointed David to rule as king over all Israel (1 Samuel 16:13), David perceived himself as the Lord's servant. Such humility characterized the apostle Paul. In his letter to the Philippians, he identified himself and Timothy as "servants of Christ Jesus" (Philippians 1:1). The temptation exists today among believers to think of themselves as "important figures" in the spiritual world, or even to see God as their servant. Instead, believers should all humbly see ourselves as God's servants and endeavor to glorify Him.