>>15223478So imagine that time is 4th dimension, and that we as humans can only experience the passage of time in a linear fashion. God, being omniscient, can and does experience time as something he can see forwards and backwards. This is the best way to reconcile the idea of free will versus the idea that God knows what we will do. In other words, we DO have free will, it is just that God already knows what we will do. So the idea that we are being tested because God doesn't know what we will do is nonsense. It is more that while we are on this Earth we are given the chance to earn his grace and therefore a place in heaven. If there is only God and no satan or evil or temptation, then you choosing to live a righteous life is not really a choice but the only choice. It is not virtue that causes you to choose to be noble, it is lack of alternatives. If, however, you choose to be noble in the face of adversity. If you choose to be righteous when it so easy to be malicious and nefarious, then there is conviction in your beliefs. TLDR: God IS all knowing, all powerful, and knows our entire life beginning to end. It is us, in our free will, that will either choose to be righteous or sinful.