but just as he who called you is holy, you yourselves also be holy in all of your behavior;
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.