Psalm 27 in one of my favorite Psalms. David starts by asserting his faith. “The LORD is my light and my salvation— whom shall I fear?” His belief is held in the face of wickedness seeking to destroy him (vv 2–3).
In the face of that wickedness, what does David seek? Removal of pain? Prosperity? No. He seeks a relationship with God in the midst of suffering. “One thing I ask from the LORD, this only do I seek: that I may dwell in the house of the LORD all the days of my life, to gaze on the beauty of the LORD and to seek him in his temple” (v 4).