God foreknew, from the foundation of the world, who would accept Jesus, and who would not. The "final record" was written from the beginning of time. Jesus told His disciples, "Rejoice because your names are written in heaven (Lk. 10:20). "Jesus (also) knew from the beginning who they were that believed not, and who should betray Him" (Jn. 6:64). Revelation 13:8 says, "And all that dwell upon the earth shall worship Him, whose names are not written in the Book of Life of the Lamb slain from the foundation of the world." Revelation 17:8 says, "They that dwell on the earth shall wonder, whose names were not written in the Book of Life from the foundation of the world."
God foreknew, from the beginning of time, that man would attempt to develop his own way to appease Him; that is, by adhering to some religious formula, in order to earn back a right-standing with Him. He also foreknew that if there was a way man could earn his way back into fellowship with Him, man would become proud and boast of his own righteousness. In order for God to receive the glory of which only He is worthy, salvation would have to be a gift from Him. The Apostle Paul wrote: "For by grace are ye saved through faith; and that not of yourselves: it is the gift of God: not of works, lest any man should boast" (Eph. 2:8-9).
God also foreknew that once a man was saved, it would be up to Him to transform him into His Son's image. Paul wrote, "For whom He did foreknow, He also did predestinate to be conformed to the image of His Son, that He might be the firstborn among many brethren" (Rom. 8:29). In another passage, Paul wrote, "He which hath begun a good work in you will perform it until the day of Jesus Christ" (Phil. 1:6).
God has always known who would, and who would not trust Jesus. Do you?