What was true of David in this psalm was similarly true of Christ. The maliciousness and spite of enemies are described, and the confidence and trust of both confessed. It is to God they look in their afflictions, and acknowledge that God the Lord was the strength of their salvation. It was this helmet of salvation that covered their heads, and the shield of faith that defended both.
The popular doctrine that God loves everybody does not fit into the sentiments of this psalm. We may well ask if He does, when does He stop loving them? Is it love we see operating in v10? Rather, there is a description of violent justice enacted, and the judgment of God falling as burning coals upon the wicked. That is not necessarily reserved for the final day, but it also occurs in time.
1 Lord, from the ill and froward man