according to the foreknowledge of God the Father, in sanctification of the Spirit, that you may obey Jesus Christ and be sprinkled in his blood: Grace to you and peace be multiplied.
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.