Passage
foreknown, indeed, before the foundation of the world, and manifested in the last times because of you,
foreknown, indeed, before the foundation of the world, and manifested in the last times because of you,
1 Peter 1:18 having known that, not with corruptible things--silver or gold--were ye redeemed from your foolish behaviour delivered by fathers,
1 Peter 1:19 but with precious blood, as of a lamb unblemished and unspotted--Christ's--
1 Peter 1:20 foreknown, indeed, before the foundation of the world, and manifested in the last times because of you,
1 Peter 1:21 who through him do believe in God, who did raise out of the dead, and glory to him did give, so that your faith and hope may be in God.
1 Peter 1:22 Your souls having purified in the obedience of the truth through the Spirit to brotherly love unfeigned, out of a pure heart one another love ye earnestly,
The verse centers on "foreknow", "world", "foreknown", "indeed", "before", "foundation", "manifested", and "last". It is saying that the verse draws attention to "foreknow" and "world", so its meaning should be read from those terms before moving to application.
The nearby context moves from verse 19's "but with precious blood as of a..." into verse 21's "who through him do believe in God...", so "foreknow" and "world" belong inside that flow. In 1 Peter context, the local focus is hope in suffering, holy conduct, submission, and grace.
A plain takeaway is to answer the verse's own emphasis on "foreknow" and "world" with trust shaped by these words, not by a vague optimism outside the passage.