David wrote Psalm 17 while he was be persecuted by Saul. You can feel the desperation as he reaches out to God for deliverance. In Psalm 17:6 David says, I call on  you, O God, for you will answer me; give ear to me and hear my prayer. One way or another, David would be delivered; even in death. In the end, we all know God delivered David from Saul’s persecution.  But David trusted in God for His will to be done. This is a powerful example to all of us.