But I do not see it as all a sham.
Yes, God knows the end from the beginning, but within that scope we do have free will to choose or reject Him.
Consider the following:
Deu 30:19 I call heaven and earth to record this day against you, that I have set before you life and death, blessing and cursing: therefore choose life, that both thou and thy seed may live:
Jos 24:15 And if it seem evil unto you to serve the LORD, choose you this day whom ye will serve; whether the gods which your fathers served that were on the other side of the flood, or the gods of the Amorites, in whose land ye dwell: but as for me and my house, we will serve the LORD.
1Ki 18:21 And Elijah came unto all the people, and said, How long halt ye between two opinions? if the LORD be God, follow him: but if Baal, then follow him. And the people answered him not a word.
Yes, I'm sure God knew what choice these people would make, but that doesn't change the fact that He gave them a choice.
And He gives us the same choice.