In Acts 13:22 David is said to be a man who's heart accords with God's own heart:
Berean Literal Bible And having removed him, He raised up David to them as king, to whom also He said, having carried witness: 'I have found David the son of Jesse a man according to My heart, who will do all My will.'
In his Psalms he is often vindictive towards his enemies:
New International Version Psalm 3:7 Arise, LORD! Deliver me, my God! Strike all my enemies on the jaw; break the teeth of the wicked.
However Jesus taught different type of attitude toward one's enemies:
BSB Luke 6: 27But to you hearing I say: Love your enemies, do good to those hating you, 28bless those cursing you, pray for those mistreating you. 29To the one striking you on the cheek, offer the other also; and from the one taking away your cloak, do not withhold the tunic also. 30Give to everyone asking you, and from the one taking away what is yours, do not ask it back. 31And as you desire that men should do to you, do likewise to them.
32And if you love those loving you, what credit is it to you? For even sinners love those loving them. 33And indeed, if you do good to those doing good to you, what credit is it to you? For even sinners do the same. 34And if you lend to those from whom you expect to receive back, what credit is it to you? Even sinners lend to sinners, that they might receive the same amount.
35But love your enemies, and do good, and lend, expecting nothing in return, and your reward will be great, and you will be sons of the Most High; for He is kind to the ungrateful and evil. 36Be you merciful, as your Father also is merciful.
And vice versa... why doesn't Jesus' praying and teaching involve invections against Rome?
Is Jesus advocating an exaggerated love ethos in his teaching or are the Psalms deficient, despite God's evaluation of David's heart?