For the choir director: A psalm of David.
1O lord, you have examined my heart
and know everything about me.
2You know when I sit down or stand up.
You know my thoughts even when I’m far away.
3You see me when I travel
and when I rest at home.
You know everything I do.
4You know what I am going to say
even before I say it, lord.
5You go before me and follow me.
You place your hand of blessing on my head.
6Such knowledge is too wonderful for me,
too great for me to understand!
7I can never escape from your Spirit!
I can never get away from your presence!
8If I go up to heaven, you are there;
if I go down to the grave,# Hebrew to Sheol. you are there.
9If I ride the wings of the morning,
if I dwell by the farthest oceans,
10even there your hand will guide me,
and your strength will support me.
11I could ask the darkness to hide me
and the light around me to become night—
12but even in darkness I cannot hide from you.
To you the night shines as bright as day.
Darkness and light are the same to you.
13You made all the delicate, inner parts of my body
and knit me together in my mother’s womb.
14Thank you for making me so wonderfully complex!
Your workmanship is marvelous—how well I know it.
15You watched me as I was being formed in utter seclusion,
as I was woven together in the dark of the womb.
16You saw me before I was born.
Every day of my life was recorded in your book.
Every moment was laid out
before a single day had passed.
17How precious are your thoughts about me,# Or How precious to me are your thoughts. O God.
They cannot be numbered!
18I can’t even count them;
they outnumber the grains of sand!
And when I wake up,
you are still with me!
19O God, if only you would destroy the wicked!
Get out of my life, you murderers!
20They blaspheme you;
your enemies misuse your name.
21O lord, shouldn’t I hate those who hate you?
Shouldn’t I despise those who oppose you?
22Yes, I hate them with total hatred,
for your enemies are my enemies.
23Search me, O God, and know my heart;
test me and know my anxious thoughts.
24Point out anything in me that offends you,
and lead me along the path of everlasting life.