1 John
3:20 For if our heart condemn us, God is greater than our heart, and knoweth all things.
John
2:24 But Jesus did not commit himself unto them, because he knew all men,
2:25 And needed not that any should testify of man: for he knew what was in man.
Whenever a man make a decision, the result must be in line with his wisdom, experience, character, and his desire within him at the moment. Since God is an all knowing God, He knows what was in man, base on His great wisdom he must be able to foreseen the end result of the choice!