He knows the end from the beginning and all your deeds are written before hand.
So, don’t worry He has your back.
And the Lord, he it is that doth go before thee, he will be with thee, he will not fail thee, neither forsake thee, fear not, neither be dismayed. Deuteronomy 31 verse 8
And, behold, I am with thee, and will keep thee in all places where ever you go, and will bring thee again into this land; for I will not leave thee until I have done that which I have spoken to thee. Genesis 28:15
When you are afraid and weak.
Fear thou not; for I am with thee: be not dismayed; for I am they God: I will strengthen thee; yes, I will help thee, yes, I will uphold thee with the right hand of my righteousness. Isaiah 41:10
When you need courage.
Be strong and of good courage, fear not, nor be afraid of them: for the Lord thy God, he it is that doth go with thee, he will not fail thee, nor forsake thee. Deuteronomy 31:6