Genesis 3: 9-10
Then the Lord God called Adam and said to him, “Where are you?” So he said, “I heard your voice in the garden, and I was afraid because I was naked; and I hid myself.”
Perhaps here we have the heart of the gospel emanating from the unconditional love of God to us in those few words, "Where are you?". Our wonderful, all knowing, all seeing Father knew every action that Adam and Eve took, He knew that they had succumbed to the Serpent’s deception and by free choice had tried to be righteous by their own act. Adam was not trying to be evil when he committed the ultimate evil of eating from the morality tree. He was actually trying to do good and avoid evil so that he could be more like God. But he already was like God.
God knew man had sinned and had fallen into the evil of self-righteousness, but he did not separate himself from fallen man. Everything changed when Adam sinned, everything but God. God did not change His relationship with man because of sin. God loved Adam, He cared for Adam, He was there in the garden wanting to talk and fellowship with him. God is the same, Yesterday, Today and Forever.