James 1:17 says, "Every good gift and every perfect gift is from above, and cometh down from the Father of lights...." Every blessing, whether physical or spiritual in nature, comes "from above," from the hand of a Sovereign God. Regeneration is no exception. Salvation, in all of itsparts, is the work of God. He is active. Man is the passive recipient.
Only God can regenerate.
"God...hath saved us and called us with a holy calling, not according to our works, but according to His own purpose and grace which was given us in Christ Jesus before the world began" (2 Tim. 1:9).
In unmistakable language, Paul argues that God's gracious purpose, not man's works, is the source of salvation. 2 Timothy 1:9 is Paul's version of Psalm 100:3,
"It is He that bath made us and not we ourselves."
In the prologue to his gospel, John traces the origin of regeneration to God:
"But as many as received him, to them gave he power to become the sons of God, even to them that believe on his name: which were born, not of blood, nor of the will of the flesh, nor of the will of man, but of God" (Jno. 1:12--13).
The new birth is not the product of human lineage ("not of blood"), nor is it the result of a human relationship ("nor of the will of the flesh"), nor the result of a human decision ("nor of the will of man.") Man's will is not instrumental in his new birth. Man is born "of God" the preposition "of" denotes the source or origin. People are not born again as a result of something they do, but solely on the basis of God's sovereign will and power. While the scriptures readily attest to this man only sees himself as the generator of his salvation because God brings the lost sinner who is spritually dead to life and removes the scales that were blinding him. Than when he is already regenerated by the holy spirit he is able to recognize and accept salvation. Even though God drew him and regenerated the man who was dead in his sins, he only is perceptive of his own words and actions, this assuming he did it all by himself.
btw. as way of a disclaimer... I am no expert. I only know what I do from frequent study. (and usually forget most of what I learn, than have to relearn it

)