He was foreknown before the foundation of the world, but was revealed in these last times for your sake.
In context
18for you know that you were redeemed from the empty conduct handed down from your ancestors, not with perishable things like silver or gold, 19but with the precious blood of the Christ, like that of a lamb without blemish or defect. 20He was foreknown before the foundation of the world, but was revealed in these last times for your sake. 21Through him you believe in God, who raised him from the dead and gave him glory, so that your faith and hope are set on God. 22Now that you have purified yourselves by obeying the truth, and so have a sincere love for your brothers and sisters, love one another deeply, from a pure heart.