1For the music director. Of David. A psalm. LORD, you have searched me and known me. 2You know when I sit and when I rise; you understand my thought from far away. 3You sift my path and my lying down; you are familiar with all my ways. 4Before there is even a word on my tongue, look, LORD, you know it completely. 5You enclose me behind and before and lay your hand upon me. 6Such knowledge is too wonderful for me, too high for me to reach.
7Where can I go from your spirit? Where can I flee from your presence? 8If I ascend to heaven, you are there. If I make my bed in Sheol, there you are! 9If I take the wings of dawn and settle at the farthest end of the sea, 10even there your hand will lead me, and your right hand will hold me. 11If I say, “Surely darkness will cover me, and the light around me will be night,” 12even darkness is not dark to you. Night shines like day; darkness and light are alike.
13For you formed my inmost parts; you wove me together in my mother’s womb. 14I thank you because I am made in an awesome and wonderful way. Your works are wonderful; my soul knows it very well. 15My frame was not hidden from you when I was made in secret, embroidered in the depths of the earth. 16Your eyes saw my unformed body. In your book all of them were written, the days that were formed when not one of them yet existed.
17How precious to me are your thoughts, God! How vast are their sums! 18Were I to count them, they would outnumber the sand. I awake, and I am still with you.
19If only you would put the wicked to death, God! You who shed blood, leave me! 20They speak of you with evil intent; your enemies invoke you falsely. 21Do I not hate those who hate you, LORD, and loathe those who rise up against you? 22With utter hatred I hate them; they have become my enemies.
23Search me, God, and know my heart. Test me and know my troubling thoughts. 24See if there is any grievous way in me, and lead me in the everlasting way.