Psalms 139:18

16 Your eyes saw my unformed body; all my days were written in Your book and ordained for me before one of them came to be.

17 How precious to me are Your thoughts, O God, how vast is their sum!

If I were to count them, they would outnumber the grains of sand; and when I awake, I am still with You.

19 O God, that You would slay the wicked— away from me, you bloodthirsty men—

20 who speak of You deceitfully; Your enemies take Your name in vain.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
If I were to count them, they would outnumber the grains of sand; and when I awake, I am still with You.
KJV
If I should count them, they are more in number than the sand: when I awake, I am still with thee.
WEB
If I would count them, they are more in number than the sand. When I wake up, I am still with you.
ASV
If I should count them, they are more in number than the sand: When I awake, I am still with thee.
DARBY
[If] I would count them, they are more in number than the sand. When I awake, I am still with thee.
BLB
[If] I could count them, they would number more than the sand! I awaken, and I am still with You.
ÅB
Vil jeg telle dem, så er de flere enn sand; jeg våkner opp, og jeg er enda hos deg.
OTB
Om jeg skulle telle dem, ville de overgå sandkornene.
Når jeg våkner, er jeg fortsatt hos Deg.
B1930
Vil jeg telle dem, så er de flere enn sand; jeg våkner op, og jeg er ennu hos dig.

Study notes (Tyndale)

Original text and word study

Cross references