Yes, God knows the end from the beginning.
If your bible tells you this, it has been translated incorrectly and even if that weren't the case, it's bad theology anyway because the bible is full of examples where God didn't get what He thought He would get no matter what He did to get it to happen, not the least of which is found in Isaiah 5:1-7...
Isaiah 5:1 Now let me sing to my Well-beloved
A song of my Beloved regarding His vineyard:
My Well-beloved has a vineyard
On a very fruitful hill.
2 He dug it up and cleared out its stones,
And planted it with the choicest vine.
He built a tower in its midst,
And also made a winepress in it;
So He expected it to bring forth good grapes,
But it brought forth wild grapes.
3 “And now, O inhabitants of Jerusalem and men of Judah,
Judge, please, between Me and My vineyard.
4 What more could have been done to My vineyard
That I have not done in it?
Why then, when I expected it to bring forth good grapes,
Did it bring forth wild grapes?
5 And now, please let Me tell you what I will do to My vineyard:
I will take away its hedge, and it shall be burned;
And break down its wall, and it shall be trampled down.
6 I will lay it waste;
It shall not be pruned or dug,
But there shall come up briers and thorns.
I will also command the clouds
That they rain no rain on it.”
7 For the vineyard of the Lord of hosts is the house of Israel,
And the men of Judah are His pleasant plant.
He looked for justice, but behold, oppression;
For righteousness, but behold, a cry for help.
He didn't have to plan anything, since he knows the fingerprints of your great-great-grandchildren before they're born.
Not true!
He doesn't even know whether he will have any great great grandchildren. Not in the sense you mean it, anyway.
God knows what He wants to know of that which is knowable. He doesn't have every event of all time planned out and predetermined. He has set in place the process that causes finger prints to form and has no need to meticulously control or to even pay any attention to how that process plays out for every individual. Likewise, God isn't paying attention to the number of rain drops that fall from the sky nor the order in which they strike the ground. He isn't the least bit interested in the exact path that each bolt of lightning takes as it makes it's way to (or from) the ground or which molecules of air are super heated by it's passing. All such silliness is a mindless theological contrivance based not on scripture or any sort of sound reason but on pagan Greek philosophy that Augustine introduced into Christianity in the late 4th and early 5th century.
He isn't watching the news to see what's going on. He knew everything before it happened. He didn't experiment or study to find anything out. He already knew everything, even before He created light.
Once again, there is example after example in scripture of just the exact opposite!
Here's some examples just from the very first book of the bible alone, a book I'd encourage you to read for yourself and stop listening to your pastor or priest. There are a great many more such examples but since this thread is not intended to be a debate about predestination or exhaustive divine foreknowledge, or immutability or any other Calvinist doctrinal distinctive, I'll leave at these few...
Genesis 3:22 Then the Lord God said, “Behold, the man has become like one of Us, to know good and evil. And now,
lest he put out his hand and take also of the tree of life, and eat, and live forever”— 23 therefore the Lord God sent him out of the garden of Eden to till the ground from which he was taken.
Genesis 2:19 Out of the ground the Lord God formed every beast of the field and every bird of the air, and brought them to Adam
to see what he would call them. And whatever Adam called each living creature, that was its name.
Genesis 18:21
I will go down now and see whether they have done altogether according to the outcry against it that has come to Me;
and if not, I will know.”
Genesis 22:12 And He said, “Do not lay your hand on the lad, or do anything to him;
for now I know that you fear God, since you have not withheld your son, your only son, from Me.”