'Foreknown' in the Bible
Whatever has happened was foreordained, and what happens to a person was also foreknown. It is useless for him to argue with God about his fate because God is more powerful than he is.
Because whom he has foreknown, he has also predestinated to be conformed to the image of his Son, so that he should be the firstborn among many brethren.
God has not rejected His [chosen] people whom He foreknew. Or do you not know what the Scripture says of Elijah, how he pleads with God against Israel?
according to the foreknowledge of God the Father by the sanctifying work of the Spirit to be obedient to Jesus Christ and to be sprinkled with His blood: May grace and peace [that special sense of spiritual well-being] be yours in increasing abundance [as you walk closely with God].
On the one hand, he was foreknown before the creation of the world, but on the other hand, he was revealed at the end of time for your sake.