God elects people for purpose, not for salvation.
[Eph 1:1, 4-5 KJV]
1 Paul, an apostle of Jesus Christ by the will of God, to the saints which are at Ephesus, and to the faithful in Christ Jesus:
[Eph 1:4-5 KJV]
4 According as he hath chosen us in him before the foundation of the world, that we should be holy and without blame before him in love:
5 Having predestinated us unto the adoption of children by Jesus Christ to himself, according to the good pleasure of his will,
[1Pe 1:1-2 KJV]
1 Peter, an apostle of Jesus Christ, to the strangers scattered throughout Pontus, Galatia, Cappadocia, Asia, and Bithynia,
2 Elect according to the foreknowledge of God the Father, through sanctification of the Spirit, unto obedience and sprinkling of the blood of Jesus Christ: Grace unto you, and peace, be multiplied.
[Rom 8:33 KJV] 33 Who shall lay any thing to the charge of God's elect? [It is] God that justifieth.