If G-d is all knowing and thus knows the future does this mean that the future is already determined. And if that is the case how could the L-rd then punish people for their lives if the script has already been written for their lives.
Indeed the future is already determined. God doesn't simply know the future. He ordained all that will come to pass and he brings the future about.
Lamentations 3:37-38
Who has spoken and it came to pass,
unless the Lord has commanded it?
Is it not from the mouth of the Most High
that good and bad come?
Isaiah 46:9-11
remember the former things of old;
for I am God, and there is no other;
I am God, and there is none like me,
declaring the end from the beginning
and from ancient times things not yet done,
saying, My counsel shall stand,
and I will accomplish all my purpose,
calling a bird of prey from the east,
the man of my counsel from a far country.
I have spoken, and I will bring it to pass;
I have purposed, and I will do it.
We are still responsible for our decisions because we freely choose to do the things that we do. Even though all that comes to pass and all of our decisions are within the ordination of God, we still freely choose to do the things that we do. We are, therefore, liable to punishment or reward.
How can there be free will if G-d is all knowing? And if there is free will and freedom of choice, does that then must mean that G-d is not all knowing?
There is no human freewill in the libertarian sense. We are not free to surprise God or to do things that are outside of the parameters that he has set for us. We are, however, free in the compatablist sense.
Maybe by asking this question I am seeing what G-d is completely wrong by personifying him as an individual.
The Bible is clear that God is a person - in fact he is three persons living in perfect communion with one another.