Seems so foreign

The righteous shall rejoice when he sees the vengeance;
He shall wash his feet in the blood of the wicked.  Psalm 58:10

This is a michtam, a golden psalm, of David. David the shepherd-warrior.

A psalm like this seems so foreign to what we learn in the New Testament from our Lord Himself—love your enemies.