who was foreknown indeed before the foundation of the world, but was revealed at the end of times for your sake,
For you - For your benefit or advantage. See the notes at 1 Peter 1:12. It follows from what is said in this verse: