“Remember the former things, those of long ago; I am God, and there is no other; I am God, and there is none like me. I make known the end from the beginning, from ancient times, what is still to come. I say: My purpose will stand, and I will do all that I please” (Isaiah 46:9-10)
“Before a word is on my tongue you know it completely, O Lord” (Psalm 139:4)
“O Lord, you have searched me and you know me. You know when I sit and when I rise; you perceive my thoughts from afar. You discern my going out and my lying down; you are familiar with all my ways” (Psalm 139:1-3)
“My frame was not hidden from you when I was made in the secret place, when I was woven together in the depths of the earth. Your eyes saw my unformed body; all the days ordained for me were written in your book before one of them came to be." (Psalm 139:15-16)
“He determines the number of the stars and calls them each by name. Great is our Lord and mighty in power; his understanding has no limit” (Psalm 147:4-5)
“And you, my son Solomon, acknowledge the God of your father, and serve him with wholehearted devotion and with a willing mind, for the Lord searches every heart and understands every desire and every thought." (1 Chronicles 28:9)
“Do you know how the clouds hang poised, those wonders of him who has perfect knowledge?” (Job 37:16)
“Nothing in all creation is hidden from God’s sight. Everything is uncovered and laid bare before the eyes of him to whom we must give account” (Hebrews 4:13)
“Whenever our hearts condemn us. For God is greater than our hearts, and he knows everything” (1 John 3:20)
No it's very, VERY clear that he understood 100% perfectly what was going to happen. Really zero room for interpretation there.