Vs. 1-2 show David’s appeal for relief from his detractors;
Vs. 3-5 show David’s presentation of his will toward God;
Vs. 6-17 show David’s acknowledgement of God’s possibilities against enemies.
David is fully prepared to accept the consequences of his own sins (vs. 3-5). Contrast this with many today who curse God when He will not deliver them from their own sinful consequences (Ephesians 2:11-13; 4:17-24; Romans 6:3-5). David appeals to God for righteous judgment (vs. 6-9), thus placing his own deeds before God for evaluation, as everyone must do one day (2 Corinthians 5:10). David completely trusts in God to deal with the wicked (vs. 10-17), that no wickedness will be unpunished.
When sinners devise ways of evil, they release actions that will come back on them (vs. 15-16), a sentiment echoed by Solomon (Proverbs 26:27), and applied by Jesus Christ (Matthew 26:52). The practices of violating God’s Laws become the “rules” by which others justify their own sinfulness. Hence, abortion defines human life as worthless (Hosea 13:16); the riotous lifestyle of those on alcohol or other drugs defines human activity as godless (Ephesians 5:18); the residual anger and hatred of many people defines humans as heartless (Titus 3:3); the merciless get no mercy (James 2:13); etc. People who sin think they are freed from the constraints of God’s Laws, but in reality, they have become slaves of unrighteousness (Romans 6:16-20; 2 Peter 2:18-19). Sometimes, the worse God can do to spark a soul to see the error of his/her way is to let them “stew in their own juice,” so to speak (Psalm 7:14-16), until they are ready to turn back to God!