Now listen carefully, because this is fundamental to any understanding of God and how He works. God knew before you were. He knew what you were going to do before you did what you did. He was aware of it., whether you were acting wrong and letting the devil have his way or whether you were acting right. He knows because He is the Lord of the living and the dead.
For a long time I saw God as the God of the mountaintop. When I saw that He was also the God of the valley, and everything between, it changed my life. I saw that everything that happens is done in accordance to the counsel of His will.