My take: It seems to me they are two primary paths to salvation. One is semi smooth and the other is bumpy and treacherous.
If you are blessed to be raised in a home and readily exposed to Jesus while your heart was still pliable, before the mysterious age of accountability, and you embraced Him then, that is of course the ideal and preferred path. The other path is one of affliction. A road of feeling God’s anger and frustration with one’s life. When circumstances prompt one to seek the great One. The latter was the path for me. No doubt, there are others but my experience is the majority are often one of these two. God allows sin to humble, break and cause us to weep humility in order for us to look up. To repent and seek a better way.
I also think this passage can also apply to a believers having to battle and deal with sin, with the repercussions of living in a fallen world where evil is present. It is all too dim and dark in the night, but be patient and persistent my fellow friends of Christ for pure joy is around the corner.
My prayer: Lord, thank you for giving us your Spirit to indwell and assist me during life and for heroes like David. Help me to boldly march on, keeping my eye on the prize.