Psalm 17 is a prayer in which King David is seeking vindication from his enemies and God’s protection from wicked people.