Your eyes saw my unformed substance; in your book were written, every one of them, the days that were formed for me, when as yet there was none of them.
From ESV Translation
JGL comment: God knows each one of our beginnings and endings even before they occur. Is this predestination? I think not. For God desires for all to be saved and come to a knowledge of the truth (1 Timothy 2:4; 2 Peter 2:9), yet not all do ( 2 Thessalonians 2:10). God exists outside of time, He is from everlasting (Revelation 22:13). He knows who will turn in repentance before they even know themselves. Yet, He is deeply grieved by those who do not repent (Hebrews 3:10). And all mankind has had revelation of God to them (Psalm 97:6).
Let us turn to the Lord while He may be found, and He will forgive. He has good plans for each of our lives.