God’s knowledge can be comforting or concerning depending on our relationship with Him. When we rebel against God, we may wish we could hide from Him because of shame and fear.
When Adam and Eve sinned in the garden, they hid from God. But God knew where they were and what they had done. And no creature is hidden from his sight, but all are naked and exposed to the eyes of him to whom we must give account (Hebrews 4:13 ESV).
Because God knows and rules all, we must give account to Him of our actions. As Adam and Eve hid, God called to them because He wanted them to come to Him and admit their sin. He wanted them to face the consequences for their sin.
Our sin is never hidden. God knows all, and He is the only One able to deal with the consequences. He has provided the way to be free from sin and reconnected to Him. When we accept that Jesus came to bear our sin on the cross and die in our place, we can repent and receive forgiveness.
When we are properly connected to God, His great knowledge comforts us. Knowing our sin, He proved His love by sending His Son. He sees when we fail, but He continues to love us. He is our heavenly Father.
As our Father, His knowledge keeps us safe. He knows the dangers and temptations we face. He protects us from many but gives us strength to face the ones He allows. He knows what we need for our faith to grow. During unexpected situations, we can trust knowing that God is not surprised. He knows every detail in advance. He will not allow anything in our lives that He cannot use for good.
O Lord, You have searched me and known me. You know my sitting down and my rising up; You understand my thought afar off. You comprehend my path and my lying down, and are acquainted with all my ways. For there is not a word on my tongue, but behold, O Lord, You know it altogether. You have hedged me behind and before, and laid Your hand upon me. Such knowledge is too wonderful for me; it is high, I cannot attain it. Psalm 139:1-6