All good things, most especially a true sorrow and repentance for our sins, an understanding of God's word by a mind "renewed" and a heart "quickened" by the Holy Spirit, and the belief in Christ as Saviour and King, are all gifts from God to His family to bring them to Him.
"In meekness instructing those that oppose themselves; if God peradventure will give them repentance to the acknowledging of the truth" -- 2 Timothy 2:25
Ephesians I explains the "order" of our salvation --
Having predestinated us unto the adoption of children by Jesus Christ to himself, according to the good pleasure of his will, To the praise of the glory of his grace, wherein he hath made us accepted in the beloved. In whom we have redemption through his blood, the forgiveness of sins, according to the riches of his grace; Wherein he hath abounded toward us in all wisdom and prudence; Having made known unto us the mystery of his will, according to his good pleasure which he hath purposed in himself: That in the dispensation of the fulness of times he might gather together in one all things in Christ, both which are in heaven, and which are on earth; even in him: In whom also we have obtained an inheritance, being predestinated according to the purpose of him who worketh all things after the counsel of his own will" -- Ephesians 1:4-11"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: