To them it was revealed, that not to themselves, but to you, did they minister these things, which now have been announced to you through those who preached the Gospel to you by the Holy Spirit sent out from heaven; which things angels desire to look into.
Paul tells us in Ephesians 1:0 that "we were chosen in Him before the foundation of the world" ( Ephesians 1:4 ). Here election is according to the foreknowledge of God.