The title refers specifically to David as "the young man of the Lord." This description emphasizes his youth rather than his status as king or prophet, roles which are indeed gifts from God. In contrast, anyone can be designated as a child of the Lord, arising either from being a faithful servant or from God's grace as a cherished child. The prophet embodies both aspects, viewing himself as the Lord's child in both meanings. By uniting these identities in himself, he derives the title of youth as a source of joy and personal pride.
The superscription indicates that David "spake unto the Lord." The implied pronoun "those" suggests that Psalm 17 contains "those" words that the prophet David directed towards God. It is referred to as a "song" instead of a "psalm" because David expressed it verbally without any instrumental accompaniment, as he had advanced in age, according to accounts in the book of Kings. Although we term it a psalm, it is more accurately a song. The text continues by noting the day "in which the Lord delivered him out of the hand of all his enemies," signifying a moment when David felt truly liberated from those who had previously opposed him, including both external foes and those related to him. The phrase "and by the hand of Saul" highlights Saul distinctly as he was David's greatest adversary. By mentioning Saul separately, the prophet acknowledges him as the king and a figure who had provided him with kindness, marking a distinction from the other enemies he faced.